Skip to content
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

default chartVersion: "" to go redpanda's version #276

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

chrisseto
Copy link
Contributor

Prior to this commit chartVersion would default to the latest version of the redpanda chart available at the time the helm repository controller ran.

This ended up being more confusing and possibly dangerous than it did being convenient. Our documentation has begun telling users to explicitly pin chartVersion themselves for stability.

Additionally, such functionality complicated the incipient de-fluxing migration.

To resolve the above, this commit has changed the behavior to instead default chartVersion to the version of the redpanda chart that's installed via the go.mod file. At the time of this commit, that version is 5.9.9.

@chrisseto chrisseto force-pushed the chris/p/pin-chart-ref branch 2 times, most recently from b9c9da8 to 4b539b6 Compare October 28, 2024 17:27
Prior to this commit `chartVersion` would default to the latest version of the
redpanda chart available at the time the helm repository controller ran.

This ended up being more confusing and possibly dangerous than it did being
convenient. Our documentation has begun telling users to explicitly pin
`chartVersion` themselves for stability.

Additionally, such functionality complicated the incipient de-fluxing
migration.

To resolve the above, this commit has changed the behavior to instead default
`chartVersion` to the version of the redpanda chart that's installed via the
`go.mod` file. At the time of this commit, that version is 5.9.9.
@RafalKorepta
Copy link
Contributor

Tests found one missing CRD

Diff:
--
  | --- Expected
  | +++ Actual
  | @@ -1,2 +1,2 @@
  | -(map[string]struct {}) (len=11) {
  | +(map[string]struct {}) (len=12) {
  | (string) (len=32) "buckets.source.toolkit.fluxcd.io": (struct {}) {
  | @@ -19,2 +19,4 @@
  | },
  | + (string) (len=28) "schemas.cluster.redpanda.com": (struct {}) {
  | + },
  | (string) (len=27) "topics.cluster.redpanda.com": (struct {}) {
  | Test:       	TestCRDS

https://buildkite.com/redpanda/redpanda-operator/builds/3030#0192d42b-d0a1-4a45-a615-b3c86686a143/1012-1032

@andrewstucki was quicker :)

Comment on lines 20 to 33
names := map[string]struct{}{
"buckets.source.toolkit.fluxcd.io": {},
"clusters.redpanda.vectorized.io": {},
"consoles.redpanda.vectorized.io": {},
"gitrepositories.source.toolkit.fluxcd.io": {},
"helmcharts.source.toolkit.fluxcd.io": {},
"helmreleases.helm.toolkit.fluxcd.io": {},
"helmrepositories.source.toolkit.fluxcd.io": {},
"ocirepositories.source.toolkit.fluxcd.io": {},
"redpandas.cluster.redpanda.com": {},
"topics.cluster.redpanda.com": {},
"users.cluster.redpanda.com": {},
}
Copy link
Contributor

Choose a reason for hiding this comment

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

@chrisseto chrisseto force-pushed the chris/p/pin-chart-ref branch from 4b539b6 to 14b4e56 Compare October 28, 2024 21:30
@RafalKorepta RafalKorepta merged commit 87317b4 into main Oct 29, 2024
5 checks passed
@chrisseto chrisseto deleted the chris/p/pin-chart-ref branch October 29, 2024 14:25
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.

2 participants