Upgrade to kube-prometheus-stack 34.x helm chart fails prerequisites #2618
-
Hi, I am managing an installation of the kube-prometheus-stack helm chart with flux. I am currently using version 33.2.0 and want to update to the latest - 34.8.0 . The official instructions are to upgrade the CRDs first: Run these commands to update the CRDs before applying the upgrade.
Each of these commands fails with the same error
I am not sure how to proceed here. Should I hope/trust that flux would do the right thing, since it seems to manage the CRDs? Or should I instead force an update and then try to fix the situation on the flux side? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Unlike Helm, Flux does know how to upgrade CRDs. To enable CRDs upgrades for your HelmReleases see the docs here: https://fluxcd.io/docs/components/helm/helmreleases/#crds. An example of kube-prometheus-stack can be found here https://github.com/fluxcd/flux2/blob/main/manifests/monitoring/kube-prometheus-stack/release.yaml, this is part of our monitoring solution for Flux https://fluxcd.io/docs/guides/monitoring/ |
Beta Was this translation helpful? Give feedback.
Unlike Helm, Flux does know how to upgrade CRDs. To enable CRDs upgrades for your HelmReleases see the docs here: https://fluxcd.io/docs/components/helm/helmreleases/#crds.
An example of kube-prometheus-stack can be found here https://github.com/fluxcd/flux2/blob/main/manifests/monitoring/kube-prometheus-stack/release.yaml, this is part of our monitoring solution for Flux https://fluxcd.io/docs/guides/monitoring/