Skip to content

docs: Add values.schema.json and document the used values - #828

Merged
lfrancke merged 1 commit into
mainfrom
push-oxtolpzuzurz
Sep 10, 2026
Merged

lfrancke merged 1 commit into
mainfrom
push-oxtolpzuzurz

Conversation

@lfrancke

@lfrancke lfrancke commented Sep 10, 2026

Copy link
Copy Markdown
Member

This is mostly copied over from hive-operator since the file is not templated. Having a schema makes Helm validate values on install, upgrade, lint and template AND shows as a nice reference on ArtifactHub. One thing to note is that we include the "global" block even if it's not used by us. This is due to helm.sh/de/docs/chart_template_guide/subcharts_and_globals In short: When used as a subchart Helm injects a "global" into every subchart. If we don't declare it validation will fail when used as a subchart.
This also documents all used values in values.yaml itself. NOTES.txt is not part of this since stackabletech/operator-templating#646 generates it.

So...this text has already been reviewed - I'd say it can mostly been waved through.

This is mostly copied over from hive-operator since the file is not templated.
Having a schema makes Helm validate values on install, upgrade, lint and
template AND shows as a nice reference on ArtifactHub.
One thing to note is that we include the "global" block even if it's not
used by us. This is due to https://helm.sh/de/docs/chart_template_guide/subcharts_and_globals/
In short: When used as a subchart Helm injects a "global" into every
subchart. If we don't declare it validation will fail when used as a
subchart.
This also documents all used values in values.yaml itself.
NOTES.txt is not part of this since operator-templating#646 generates it.
@lfrancke lfrancke self-assigned this Sep 10, 2026
@lfrancke lfrancke moved this to Development: Waiting for Review in Stackable Engineering Sep 10, 2026
@dervoeti dervoeti moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Sep 10, 2026
@lfrancke
lfrancke added this pull request to the merge queue Sep 10, 2026
Merged via the queue into main with commit d14b982 Sep 10, 2026
13 checks passed
@lfrancke
lfrancke deleted the push-oxtolpzuzurz branch September 10, 2026 14:41
@lfrancke lfrancke moved this from Development: In Review to Development: Done in Stackable Engineering Sep 10, 2026
@lfrancke lfrancke moved this from Development: Done to Done in Stackable Engineering Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants