This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16.8k
[stable/graylog] Release installed with helm2 cannot be upgraded using helm3 #20306
Comments
4 tasks
I submitted a PR to fix the label with value This allows future installations to continue using the default value from EDIT: closed in favour of the next PR |
I hope PR #20464 makes more sense now. Instead of a hard coded value for the affected label, a flag in |
k8s-ci-robot
pushed a commit
that referenced
this issue
Jan 31, 2020
….yaml` that preserves specific labels installed by helm2 for backward compatibility. (#20464) Signed-off-by: juliohm1978 <jhm@juliohm.com.br>
sc2borges
pushed a commit
to sc2borges/charts
that referenced
this issue
Feb 3, 2020
…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>
sc2borges
pushed a commit
to sc2borges/charts
that referenced
this issue
Feb 4, 2020
…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>
MarcusSorealheis
added a commit
to MarcusSorealheis/charts
that referenced
this issue
Feb 4, 2020
…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) ...
mmingorance-dh
pushed a commit
to mmingorance-dh/charts
that referenced
this issue
Aug 28, 2020
…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>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
I have a graylog release installed with helm2, and I need to migrade our deploy pipeline to helm3. I have followed the steps outlined in the official docs successfully.
https://helm.sh/blog/migrate-from-helm-v2-to-helm-v3/
After the release is migrated to helm3, a
helm upgrade
produces the following error:Using the
helm template
command, I was able to test each Yaml object created by the helm chart and isolate the issue to the Graylog StatefulSet.The following is a snippet the StatefulSet currently deployed with helm2:
And here is a snippet of the new StatefulSet rendered by helm3:
The breaking point here is that the chart renders the labels using a different value for
app.kubernetes.io/managed-by
.The Yaml deployed by helm2 reads
app.kubernetes.io/managed-by: Tiller
while the new Yaml created by helm3 readsapp.kubernetes.io/managed-by: "Helm"
. Kubernetes consideres the field.spec.template.metadata.label
immutable for StatefulSets.The exact template line: https://github.com/helm/charts/blob/master/stable/graylog/templates/statefulset.yaml#L26
Suffice to say that the value for
.Release.Service
has changed from helm2 to helm3, and that is causing the chart to break upgrades under helm3.Version of Helm and Kubernetes: Helm 3, Kubernetes 1.15.3
Which chart: 1.3.6
What you expected to happen:
I expect the chart to render all metadata compatible with previous releases. I'm not sure what the best option would be right now, aside from just fixating
app.kubernetes.io/managed-by: Tiller
to maintain backward compatibility.How to reproduce it (as minimally and precisely as possible):
The text was updated successfully, but these errors were encountered: