Open lr-carmichael opened 4 years ago
I run into the same issue. This behavior is inconvenient but expected: the kubectl apply
manages ConfigMap declaratively and Argo CD updates. It is impossible to use both at the same time: https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/#changing-management-methods
I think the use case is valid and Argo CD should support managing some settings in a declarative way and others using an imperative way. Will create feature request to track it.
Checklist:
argocd version
.Describe the bug
I'm building out my declarative ArgoCD deployment, and noticed that every other time I run
kubectl apply -k .
, it deletes my repositories. The applications never get deleted.To Reproduce
Expected behavior
As I make changes and add new applications or other resources to ArgoCD, I want my repositories to stick around so I don't have to
kubectl apply -k .
twice every iteration.Screenshots
n/a
Version
I've reproduced this with both 1.5.0 and 1.4.2 argocd-server images.
Logs
Note: No changes were made. Just ran it again.