-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redpanda: assert backwards compat guarantees #1236
base: main
Are you sure you want to change the base?
Conversation
4d6396f
to
161aa66
Compare
charts/redpanda/values.go
Outdated
Enabled *bool `json:"enabled" jsonschema:"required"` | ||
Certs *TLSCertMap `json:"certs"` | ||
Enabled *bool `json:"enabled" jsonschema:"required"` | ||
Certs TLSCertMap `json:"certs"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is not a pointer, should the jsonschema be set to required
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
85a9e82
to
255f730
Compare
6c07a96
to
fa56782
Compare
This commit utilizes `valuesutil.Generate` to assert the backwards compatibility guarantees of the redpanda chart's values.schema.json across all minor versions start with the 5.6.x series. The guarantee is both documented and enforced by `TestSchemaBackwardCompat` test.
fa56782
to
ce09ab0
Compare
161aa66 redpanda: assert backwards compat guarantees
This commit utilizes
valuesutil.Generate
to assert the backwardscompatibility guarantees of the redpanda chart's values.schema.json
across all minor versions start with the 5.6.x series.
The guarantee is both documented and enforced by
TestSchemaBackwardCompat
test.