-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Describe the bug
The change from DandyDeveloper/charts#342 creates an issue where an immutable field is attempting to be changed:
Failed to compare desired state to live state: failed to calculate diff: error calculating server side diff: serverSideDiff error: error running server side apply in dryrun mode for resource Deployment/argocd-redis-ha-haproxy: Deployment.apps "argocd-redis-ha-haproxy" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:v1.LabelSelectorRequirement(nil)}: field is immutable
Normally, I would expect argocd to rollout what it can then do a replace on the CR having this issue, but with SSA it goes into an unknown state so there is not a great way to reconcile this without doing heavy manual intervention.
Related helm chart
argo-cd
Helm chart version
9.1.0
To Reproduce
- deploy v8.3.5 of argocd helm chart
- deploy v 9.1.0 of argocd helm chart
Expected behavior
ArgoCD should rollout changes as expected, however it cannot because the redis-ha chart changed matchLabels selector, which is an immutable field.
Screenshots
Additional context
No response
Reactions are currently unavailable