diff --git a/clusters/uralkal/kustomization.yaml b/clusters/uralkal/kustomization.yaml index f4b8e57..6755dd4 100644 --- a/clusters/uralkal/kustomization.yaml +++ b/clusters/uralkal/kustomization.yaml @@ -55,3 +55,29 @@ resources: - ../../apps/message-hub/uralkal - ../../apps/cde/uralkal +patches: + - target: + kind: HelmRelease + patch: | + - op: add + path: /spec/driftDetection + value: + mode: enabled + ignore: + - paths: ["/webhooks"] + target: + kind: MutatingWebhookConfiguration + - paths: ["/webhooks"] + target: + kind: ValidatingWebhookConfiguration + - target: + kind: HelmRelease + name: istiod + patch: | + - op: add + path: /spec/driftDetection/ignore/- + value: + paths: ["/spec/replicas"] + target: + kind: Deployment +