Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

feat: validate official Kubernetes module values and provider defaults

Aperta
#163 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
62/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
ruby

Direzione di ricerca

Start from the module rendering path that already loads module defaults, and locate where each official Kubernetes module's schema.yaml is declared so validation can run before Helm rendering. Then find where provider defaults are stored and how the precedence hierarchy is documented, and wire them into the existing rendering flow for the selected provider only. Add tests covering valid values, invalid values (asserting the error names the module and value path), defaults precedence, and client overrides, plus a regression run over the existing DigitalOcean manifests to confirm they still render.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: cli enhancement

Context

The Kubernetes module contract documents strict schemas for official modules and a defaults hierarchy that includes provider defaults. Current platform rendering loads module defaults, but does not apply schema.yaml to module values or load provider defaults through the normal rendering path. This leaves the documented module contract unenforced.

Scope

  • Validate values for official Kubernetes modules against their declared schema.yaml before rendering.
  • Apply provider defaults in the documented precedence order for the selected provider.
  • Keep error messages actionable and identify the module and invalid value path.
  • Add coverage for valid values, invalid values, defaults precedence, and client overrides.

Acceptance criteria

  • Invalid official module values fail validation before Helm rendering.
  • Provider defaults are applied only for the selected provider and are overridden according to the documented precedence.
  • Existing supported DigitalOcean platform manifests continue to render successfully.
Lingua principale
Ruby
Stelle
0
Fork
0
Merge medio
11h 37m
PR unite (30g)
35

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di opsd-io/opsd-cli

Tutte le issue di opsd-io/opsd-cli

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.