-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] chart/templates/tetrate-istio.yaml
should use spec: ignoreDifferences:
to hide things that will always be out of sync
#37
Comments
I feel like something like this should work, and although I can get this to apply and not produce any errors, it also does not hide the diff.
|
I think that this is indeed the correct thing to add to the Application spec: ignoreDifferences:
- kind: MutatingWebhookConfiguration
name: istio-sidecar-injector
jqPathExpressions:
- '.webhooks[]?.clientConfig.caBundle'
- kind: ValidatingWebhookConfiguration
name: istiod-default-validator
jqPathExpressions:
- '.webhooks[]?.failurePolicy' But I have reported a bug upstream, as I can't actually get this to work, despite what the documentation suggests. |
@spkane, what is the status on this one ? |
@allamand No idea unfortunately. I am no longer working on this and have no idea if a solution was ever discovered. |
@spkane there should be group field. You can try: ignoreDifferences:
- group: admissionregistration.k8s.io
kind: MutatingWebhookConfiguration
name: istio-sidecar-injector
jqPathExpressions:
- '.webhooks[]?.clientConfig.caBundle'
- group: admissionregistration.k8s.io
kind: ValidatingWebhookConfiguration
name: istiod-default-validator
jqPathExpressions:
- '.webhooks[]?.failurePolicy' |
There are some fields that will ALWAYS show a difference in ArgoCD unless
ignoreDifferences
is set correctly in theApplication
manifest fortetrate-istio
See: https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/#application-level-configuration
I'll add the exact config here, if/when I work it out.
The text was updated successfully, but these errors were encountered: