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
What steps did you take and what happened:
ArgoCD always identifies a diff in the status field when syncing the configs.config.gatekeeper.sh and constrainttemplates.templates.gatekeeper.sh CRDs.
I believe this happens because both CRDs contain an empty status field that is immediately updated by the api server upon apply:
What steps did you take and what happened:
ArgoCD always identifies a diff in the status field when syncing the
configs.config.gatekeeper.sh
andconstrainttemplates.templates.gatekeeper.sh
CRDs.I believe this happens because both CRDs contain an empty status field that is immediately updated by the api server upon apply:
ArgoCD identifies this as a difference between git and the live cluster state (which it is).
Omitting the status field entirely should resolve this problem.
What did you expect to happen:
ArgoCD to sync the CRDs successfully without a diff being identified.
Anything else you would like to add:
This can be worked around in ArgoCD by ignoring differences in the status field:
Environment:
kubectl version
):The text was updated successfully, but these errors were encountered: