Skip to content

Comments

[K8S-535] charts/*: close values' schemas#555

Merged
chrisseto merged 1 commit intomainfrom
chris/p/charts-close-schemas
Mar 27, 2025
Merged

[K8S-535] charts/*: close values' schemas#555
chrisseto merged 1 commit intomainfrom
chris/p/charts-close-schemas

Conversation

@chrisseto
Copy link
Contributor

Prior to this commit our charts' schemas were "open" which allowed extraneous keys to be specified without repercussions. This had lead to many cases of users having values files that "didn't work" due to incorrect key names, indentation issues, etc.

As we're pushing out new major releases with breaking changes along side core's 25.1 release, this commit "closes" the charts' schemas which catch any incompatible values or unexpected upgrades.

@chrisseto chrisseto force-pushed the chris/p/charts-close-schemas branch 2 times, most recently from 16fcc87 to eb51999 Compare March 21, 2025 19:26
@chrisseto
Copy link
Contributor Author

Based on #556

@chrisseto chrisseto force-pushed the chris/p/charts-close-schemas branch 3 times, most recently from e488083 to 61c4b7f Compare March 24, 2025 14:32
@chrisseto chrisseto enabled auto-merge (rebase) March 24, 2025 17:12
@chrisseto chrisseto force-pushed the chris/p/charts-close-schemas branch from 61c4b7f to e03b720 Compare March 25, 2025 13:35
Copy link
Contributor

@RafalKorepta RafalKorepta left a comment

Choose a reason for hiding this comment

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

LGTM. My PR just causes merge conflicts.

@chrisseto chrisseto force-pushed the chris/p/charts-close-schemas branch 2 times, most recently from 04f2249 to ec66ce8 Compare March 25, 2025 20:13
@RafalKorepta
Copy link
Contributor

Lint is failing


task: [ci:lint] git diff --exit-code
--
  | diff --git a/charts/redpanda/README.md b/charts/redpanda/README.md
  | index 5d99f5ff..0ead0254 100644
  | --- a/charts/redpanda/README.md
  | +++ b/charts/redpanda/README.md
  | @@ -22,8 +22,8 @@ Kubernetes: `>= 1.25.0-0`
  |  
  | \| Repository \| Name \| Version \|
  | \|------------\|------\|---------\|
  | +\| file://../console \| console \| >=0.7.31-0 \|
  | \| https://charts.redpanda.com \| connectors \| >=0.1.2 <1.0 \|
  | -\| https://charts.redpanda.com \| console \| >=0.5 <1.0 \|


@chrisseto chrisseto force-pushed the chris/p/charts-close-schemas branch 2 times, most recently from 97d1a05 to 67c9d17 Compare March 27, 2025 15:05
@chrisseto
Copy link
Contributor Author

This is now based on #575

@chrisseto chrisseto force-pushed the chris/p/charts-close-schemas branch 2 times, most recently from 7b61c23 to 34dcceb Compare March 27, 2025 17:09
@chrisseto
Copy link
Contributor Author

And now also based on #577 :(

@chrisseto chrisseto force-pushed the chris/p/charts-close-schemas branch from 34dcceb to 6745c6b Compare March 27, 2025 19:36
Prior to this commit our charts' schemas were "open" which allowed extraneous
keys to be specified without repercussions. This had lead to many cases of
users having values files that "didn't work" due to incorrect key names,
indentation issues, etc.

As we're pushing out new major releases with breaking changes along side core's
25.1 release, this commit "closes" the charts' schemas which catch any
incompatible values or unexpected upgrades.
@chrisseto chrisseto force-pushed the chris/p/charts-close-schemas branch from 6745c6b to 5a06707 Compare March 27, 2025 21:11
@chrisseto chrisseto merged commit f0fd21d into main Mar 27, 2025
12 checks passed
@RafalKorepta RafalKorepta deleted the chris/p/charts-close-schemas branch March 28, 2025 09:17
@chrisseto
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
release/v25.1.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants