Skip to content

Commit

Permalink
chore: Update capsule app to ignore webhook caBundle diffs (#44)
Browse files Browse the repository at this point in the history
Add `ignoreDifferences` for `MutatingWebhookConfiguration`
and `ValidatingWebhookConfiguration` in the `capsule` Application
to ignore changes in `webhooks[].clientConfig.caBundle`,
enhancing Argo CD's application reconciliation process.

Jira: EPMDEDP-13548
Related: #44

Change-Id: I8548251fb59d7ee245c964cb31e7cb8fc8fc49ce
  • Loading branch information
Artem-Zahumonnyi committed Apr 11, 2024
1 parent 0ce742a commit 35e6278
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions chart/templates/capsule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,13 @@ spec:
duration: 5s
factor: 2
maxDuration: 1m
ignoreDifferences:
- group: admissionregistration.k8s.io
kind: MutatingWebhookConfiguration
jqPathExpressions:
- .webhooks[].clientConfig.caBundle
- group: admissionregistration.k8s.io
kind: ValidatingWebhookConfiguration
jqPathExpressions:
- .webhooks[].clientConfig.caBundle
{{- end -}}

0 comments on commit 35e6278

Please sign in to comment.