Skip to content

Commit a0a0a68

Browse files
committed
fix: istiod and istio-base drift detection on webhooks always trigger
Signed-off-by: Michael Fornaro <[email protected]>
1 parent 3dddf71 commit a0a0a68

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

kubernetes/apps/base/istio-system/istio-base/app/helmrelease.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,14 @@ spec:
4141
driftDetection:
4242
mode: warn
4343
maxHistory: 3
44+
postRenderers:
45+
- kustomize:
46+
patches:
47+
- target:
48+
version: v1
49+
kind: ValidatingWebhookConfiguration
50+
name: istiod-default-validator
51+
patch: |
52+
- op: add
53+
path: /metadata/annotations/helm.toolkit.fluxcd.io~1driftDetection
54+
value: disabled

kubernetes/apps/base/istio-system/istiod/app/helmrelease.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,14 @@ spec:
7676
"x-auth-request-access-token",
7777
]
7878
headersToDownstreamOnDeny: ["content-type", "set-cookie"]
79+
postRenderers:
80+
- kustomize:
81+
patches:
82+
- target:
83+
version: v1
84+
kind: ValidatingWebhookConfiguration
85+
name: istio-validator-istio-system
86+
patch: |
87+
- op: add
88+
path: /metadata/annotations/helm.toolkit.fluxcd.io~1driftDetection
89+
value: disabled

0 commit comments

Comments
 (0)