Avoid syncing a specific resource #18941
Replies: 4 comments 1 reply
-
I wonder why this even happens to you. I have many resources created by operators (Rook, Cloudnative-pg,...) and none of these are flagged as "our of sync" by Argo CD. |
Beta Was this translation helpful? Give feedback.
-
Yeah my operator (which is managed by ArgoCD) was copying all labels from the operator to it's child resources, including the "managed by Argo CD" label. I ended up configuring it so that it skipped copying the Argo CD label which felt like the right solution. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue when trying to exclude whole resource and ended up excluding all major paths instead. |
Beta Was this translation helpful? Give feedback.
-
We are also looking for a solution like that but we could not find a way in ArgoCD |
Beta Was this translation helpful? Give feedback.
-
Is it possible to ignore syncing a specific resource (and not all resources of that Kind), like a specific PVC that has been provisioned through an operator and ends up as OutOfSync in Argo?
OutOfSync (This resource is not present in the application's source. It will be deleted from Kubernetes if the prune option is enabled during sync.)
I've tried all combinations of
ignoreDifferences
, with or without jqPathExpressions, but ignoreDifferences only seems to react to changes within a specific resource and it's not possible to make ArgoCD ignore the whole resource using ignoreDifferences right?My understanding:
Beta Was this translation helpful? Give feedback.
All reactions