Skip to content

Commit 70d6aee

Browse files
srodenhuismerll
andauthored
fix: workload with validatingwebhookcfg (#1942)
Co-authored-by: Matthias Erll <[email protected]>
1 parent eea8299 commit 70d6aee

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

charts/team-ns/templates/argocd/argocd-applicationset.yaml

+9-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,15 @@ spec:
6262
duration: 10s
6363
factor: 3
6464
limit: 3
65-
syncOptions: []
65+
{{- if eq $v.teamId "admin" }}
66+
syncOptions:
67+
- RespectIgnoreDifferences=true
68+
ignoreDifferences:
69+
- group: admissionregistration.k8s.io
70+
kind: ValidatingWebhookConfiguration
71+
jqPathExpressions:
72+
- '.webhooks[]?.clientConfig.caBundle'
73+
{{- end }}
6674
destination:
6775
server: 'https://kubernetes.default.svc'
6876
{{- if and ( eq $v.teamId "admin" ) .namespace }}

0 commit comments

Comments
 (0)