Values reference generated from the schema; bad values refused; https-only publicUrl (K-C12) #29

Merged
jcoffey-dev merged 3 commits from feat/values-reference into main 2026-11-19 21:10:49 +00:00
Owner

K-C12, closes #12. On top of #28 (and #27): merge after them.

  • tools/values-reference.py writes charts/inbuxa/VALUES.md: every value, its default, type and what the schema allows, with its comment. Standard library only. check.sh fails when it's out of date; the CI job installs python3-minimal. K-D2 can take it into the docs.
  • The schema checks resources (requests and limits as quantities) and annotation, label and node-selector maps (strings).
  • tools/bad-values: 14 values files the chart must refuse, each for a stated reason, rendered with helm template as an install does (helm lint passes over a template's own refusal).
  • publicUrl for the server, webmail and console: https only.

Tested: tools/check.sh; the reference check fails after a values.yaml comment changes.

K-C12, closes #12. On top of #28 (and #27): merge after them. - `tools/values-reference.py` writes `charts/inbuxa/VALUES.md`: every value, its default, type and what the schema allows, with its comment. Standard library only. `check.sh` fails when it's out of date; the CI job installs python3-minimal. K-D2 can take it into the docs. - The schema checks `resources` (requests and limits as quantities) and annotation, label and node-selector maps (strings). - `tools/bad-values`: 14 values files the chart must refuse, each for a stated reason, rendered with `helm template` as an install does (`helm lint` passes over a template's own refusal). - `publicUrl` for the server, webmail and console: https only. **Tested**: `tools/check.sh`; the reference check fails after a values.yaml comment changes.
jcoffey-dev added 3 commits 2026-11-19 21:09:46 +00:00
- tools/values-reference.py writes charts/inbuxa/VALUES.md: every value,
  its default, its type and what the schema allows, with the comment from
  values.yaml. Standard library only. CI (check.sh) fails when the
  committed copy is out of date; the job installs python3-minimal.
- The schema checks resources (requests and limits of cpu, memory and
  ephemeral-storage, as quantities) and annotation, label and
  node-selector maps (strings only).
- tools/bad-values: values the chart must refuse, each with the reason
  the refusal has to give. check.sh renders each with helm template, as
  an install does: helm lint passes over a template's own refusal.
jcoffey-dev force-pushed feat/values-reference from b556359dd3 to d9e51f433f 2026-11-19 21:09:46 +00:00 Compare
jcoffey-dev merged commit 0588ca7667 into main 2026-11-19 21:10:49 +00:00
jcoffey-dev deleted branch feat/values-reference 2026-11-19 21:10:50 +00:00
Sign in to join this conversation.