Skip to content

Fix the values.schema.json regeneration command - #168

Open
0mar-K wants to merge 2 commits into
masterfrom
omar/fix-schema-regen-command
Open

0mar-K wants to merge 2 commits into
masterfrom
omar/fix-schema-regen-command

Conversation

@0mar-K

@0mar-K 0mar-K commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

The documented way to regenerate values.schema.json doesn't work. It passes -input, -draft, -indent and -output, but helm-values-schema-json 2.6.0 rejects the single-dash -input and errors out.

Every chart already has a .schema.yaml holding all four settings, which is why the maestrod line was already a bare helm schema. This makes all three consistent and says where the settings come from, so nobody goes hunting for flags.

The documented command passes `-input`, `-draft`, `-indent` and `-output`,
but helm-values-schema-json 2.6.0 rejects the single-dash `-input` and errors
out. Every chart already has a `.schema.yaml` holding all four settings, which
is why the maestrod line was already a bare `helm schema`.

Makes all three consistent and says where the settings come from, so the next
person does not go looking for flags.

Verified by regenerating all three charts with the bare command and getting no
diff against the committed schemas.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant