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
Using ArgoCD, when attempting to upgrade the helm chart from 1.22.3 -> 1.22.4, the deployment update is rejected because a new label was added and hardcoded into the deployment.yaml template:
Failed sync attempt to 57acc1b15547b561f72d2ba9a46061f4f889f331: one or more objects failed to apply, reason: error when patching "/dev/shm/300371924": Deployment.apps "vault-operator" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/instance":"vault-operator", "app.kubernetes.io/name":"vault-operator"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable (retried 5 times).
joemiller
changed the title
helm chart v1.22.4 breaks upgrades with additional matchLabels added
helm chart v1.22.4 breaks upgrades due to additional matchLabels added
Dec 19, 2024
Preflight Checklist
Operator Version
1.22.4
Installation Type
Official Helm chart
Bank-Vaults Version
No response
Kubernetes Version
1.30.0
Kubernetes Distribution/Provisioner
GKE, EKS
Expected Behavior
Upgrading the helm chart should succeed.
Actual Behavior
Using ArgoCD, when attempting to upgrade the helm chart from 1.22.3 -> 1.22.4, the deployment update is rejected because a new label was added and hardcoded into the deployment.yaml template:
app.kubernetes.io/instance
added in 2bd7c7d#diff-9740ffbfce1675e80ab604e95ffa60ef0c21f28db348b2dd2e0f38da341b4a02R20Steps To Reproduce
Configuration
n/a
Logs
Additional Information
No response
The text was updated successfully, but these errors were encountered: