Open arugifa opened 4 years ago
With Helm v2, you could use --force
to turn the upgrade from PATCH into DELETE+PUT, to work around this sort of thing.
With Helm v3, that is not (currently) possible, see https://github.com/helm/helm/issues/7082.
Deleting the deployment with --cascade=false
will save you from downtime as well (provided you reinstall immediately after).
I recently updated my Jaeger-Operator's chart from
2.10.2
to2.12.3
, and got an error with Helm:I couldn't find any info about this error in the README. So I started to look around, and found out these errors were probably due to a change in the label selectors of the Jaeger-Operator deployment: doing so is not allowed by Kubernetes, as these fields are immutable.
By deleting the deployment and reinstalling the chart, I finally solved my problem:
I assume other people probably also got this error (or will in the future), and that adding a note in the
README
could be really useful 🙌