Replies: 1 comment 7 replies
-
Good question. I am trying to understand why label selector will work while annotation won't? Will you be able to inject the proper label to all the to-be-ignored objects? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an Application that manages applies a helm chart containing a Tekton Pipeline. It looks something like this:
When I create the application and allow it to sync, everything looks good, but each time I start the pipeline, resources are generated by tekton (PipelineRuns, TaskRuns, Pods) all of which have the labels propigated. When that happens, the Application then reports out of sync. I've been trying to mess with the Compare Options and Diffing Customizations, but neither of them quite give me what I need. The
argocd.argoproj.io/compare-options: IgnoreExtraneous
annotation works in theory, but in practice, I have no mechanism to ensure that Tekton will apply it to the right resources. The.spec.IgnoreDifferences
settings only seem to work inside of a resource, not on an entire resource.What I'm looking for is a way to configure the Application to be able to
ignoreResources
using a label selector. Does this exist? If not, is there another way to accomplish this that I'm not thinking of, or is a feature request appropriate?Beta Was this translation helpful? Give feedback.
All reactions