You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to upgrade kube-prometheus-stack from 45.31.1 to 46.6.0 which upgrades prometheus-operator.
Upgrade notes states that we need to upgrades CRDs before upgrading the component.
But when I did it (on a test cluster) I got the following error over multiple CRDs:
error: Apply failed with 1 conflict: conflict with "helm-controller" using apiextensions.k8s.io/v1: .spec.versions
Please review the fields above--they currently have other managers. Here
are the ways you can resolve this warning:
* If you intend to manage all of these fields, please re-run the apply
command with the `--force-conflicts` flag.
* If you do not intend to manage all of the fields, please edit your
manifest to remove references to the fields that should keep their
current managers.
* You may co-own fields by updating your manifest to match the existing
value; in this case, you'll become the manager if the other manager(s)
stop managing the field (remove it from their configuration).
See https://kubernetes.io/docs/reference/using-api/server-side-apply/#conflicts
Steps to reproduce
Install stable flux
Ensure manifests/monitoring/kube-prometheus-stack is applied (from this repository) (this will install kube-prometheus-stack 45.x)
Describe the bug
I wanted to upgrade kube-prometheus-stack from
45.31.1
to46.6.0
which upgrades prometheus-operator.Upgrade notes states that we need to upgrades CRDs before upgrading the component.
But when I did it (on a test cluster) I got the following error over multiple CRDs:
Steps to reproduce
Expected behavior
The CRDs are upgraded so that we can patch and upgrade kube-prometheus-stack to 46.x.
Screenshots and recordings
No response
OS / Distro
N/A
Flux version
0.41.2
Flux check
Git provider
No response
Container Registry provider
No response
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: