Skip to content

docs: Add values.schema.json and NOTES.txt - #935

Open
lfrancke wants to merge 1 commit into
mainfrom
push-nuztxrqqyykm
Open

docs: Add values.schema.json and NOTES.txt#935
lfrancke wants to merge 1 commit into
mainfrom
push-nuztxrqqyykm

Conversation

@lfrancke

@lfrancke lfrancke commented Aug 28, 2026

Copy link
Copy Markdown
Member

This is mostly copied over from hive-operator since the files are 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 and adds a
NOTES.txt which is displayed automatically after an install.
@lfrancke lfrancke self-assigned this Aug 28, 2026
@lfrancke lfrancke moved this to Development: Waiting for Review in Stackable Engineering Aug 28, 2026

@Techassi Techassi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not templated on purpose.

I can see why the schema is not templated (because the values.yaml file it describes is also not templated), but why is the NOTES.txt file not templated? I don't see anything operator-specific in there (other than its name, which can easily be templated).

@Techassi Techassi moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Aug 28, 2026
@lfrancke

lfrancke commented Aug 28, 2026

Copy link
Copy Markdown
Member Author

Because it would require special handling for listener, secret and commons.

The text would otherwise not fit.

"This installs the Stackable operator for Trino only." -> "This installs the Stackable operator for Commons operator only" or similar.
It would have needed special casing in operator templating and I thought that's not worth it for something that hopefully doesn't change often.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: In Review

Development

Successfully merging this pull request may close these issues.

2 participants