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
Describe the bug
When using the provide Kustomize Manifests and configuring Argo CD to manage itself, every hard refresh will switch between In Sync and Out of Sync. It tries to delete the data block from the argo-cm.yaml configmap.
Here is a redacted version of my argocd-cm.yaml. It tries to remove everything under the data key.
I believe this is kustomize 2.0.3 bug. The argocd-cm config map already defined in the remote base, so config map should be modified using patch instead of added as a new resource. E.g.
I think kustomize should return error in this case, but kustomize 2.0.3 just ignore conflicting resource and return unmodified version from the remote base. The kustomize 3.x returns error. It also panics but at least it is clear that kustomization.yaml has an error.
Describe the bug
When using the provide Kustomize Manifests and configuring Argo CD to manage itself, every hard refresh will switch between In Sync and Out of Sync. It tries to delete the
data
block from the argo-cm.yaml configmap.Here is a redacted version of my argocd-cm.yaml. It tries to remove everything under the data key.
To Reproduce
It doesn't happen every time but I'm able to replicate it about 1/4 to 2/3 of the time.
Expected behavior
It should stay In Sync
Version
The text was updated successfully, but these errors were encountered: