[stable/graylog] Add helm2Compatibility flag to values.yaml that preserves specific labels installed by helm2 for backward compatibility#20464
[stable/graylog] Add helm2Compatibility flag to values.yaml that preserves specific labels installed by helm2 for backward compatibility#20464k8s-ci-robot merged 1 commit intohelm:masterfrom juliohm1978:master
Conversation
….yaml` that preserves specific labels installed by helm2 for backward compatibility. Signed-off-by: juliohm1978 <jhm@juliohm.com.br>
|
Hi @juliohm1978. Thanks for your PR. I'm waiting for a helm member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/ok-to-test |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: juliohm1978, KongZ The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…lues.yaml` that preserves specific labels installed by helm2 for backward compatibility. (helm#20464) Signed-off-by: juliohm1978 <jhm@juliohm.com.br> Signed-off-by: Sergio Borges <sergio.borges@safetyculture.io>
…lues.yaml` that preserves specific labels installed by helm2 for backward compatibility. (helm#20464) Signed-off-by: juliohm1978 <jhm@juliohm.com.br> Signed-off-by: Sergio Borges <sergio.borges@safetyculture.io>
…tainer * upstream/master: (309 commits) [stable/moodle] Set MOODLE_SKIP_INSTALL environment variable via values.yaml config. (helm#20523) [stable/prometheus-redis-exporter] Update image for exporter (helm#19317) update alantis version (helm#20507) [stable/spring-cloud-data-flow] Update to new SCDF version 2.4.0 (helm#20517) [stable/prometheus-blackbox-exporter] add "allowIcmp" setting (helm#20409) Allow DNS egress to resolve hostnames (helm#20437) [stable/rabbitmq] Add PrometheusRule. (helm#20478) [stable/drupal] Release 6.2.4 updating components versions (helm#20491) [stable/metabase] interpolate liveness and readiness probes (helm#20475) [stable/grafana] Fix a typo in the Grafana chart notes (helm#20490) [stable/gocd] Quote ingress host (helm#20477) [stable/metabase] allow setting jetty options (helm#20456) [stable/pgadmin] upgrade to 4.17 and more (helm#20211) [stable/prometheus-operator] add apiserverConfig (helm#20453) [stable/graylog] Fix helm#20306, add `helm2Compatibility` flag to `values.yaml` that preserves specific labels installed by helm2 for backward compatibility. (helm#20464) Add annotation support to pushgateway service (helm#20351) Upgrade nfs-provisioner to v2.3.0 (helm#20468) [stable/sysdig] Upgrade to latest Sysdig Image (9.5.0) (helm#20471) [stable/odoo] Update PostgreSQL dependency to latest major (helm#20467) [stable/redis] Add PrometheusRule. (helm#20388) ...
…lues.yaml` that preserves specific labels installed by helm2 for backward compatibility. (helm#20464) Signed-off-by: juliohm1978 <jhm@juliohm.com.br> Signed-off-by: Miguel Mingorance <miguel.mingorance@deliveryhero.com>
What this PR does / why we need it:
Releases installed from this chart using helm2 cannot be upgraded after migrating to helm3.
Using helm2, the chart renders the label
app.kubernetes.io/managed-by: Tillerin the Graylog StatefulSet. Meanwhile, using helm3, the chart rendersapp.kubernetes.io/managed-by: "Helm".Since Kubernetes considers the field
.spec.template.metadata.labelimmutable for StatefulSets, upgrading migrated releases is not possible without a complete purge/reinstall.The attempt to upgrade results in the following error message:
This PR adds the flag
helm2Compatibilityto values.yaml, giving users the choice to preserve related label fields. This allows upgrades to continue without a complete purge/reinstall of the current release.Which issue this PR fixes
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
[stable/mychartname])