diff --git a/kubernetes/apps/kyverno/kyverno/policies/remove-cpu-limits.yaml b/kubernetes/apps/kyverno/kyverno/policies/remove-cpu-limits.yaml index 6b487263..54b2bffb 100644 --- a/kubernetes/apps/kyverno/kyverno/policies/remove-cpu-limits.yaml +++ b/kubernetes/apps/kyverno/kyverno/policies/remove-cpu-limits.yaml @@ -13,7 +13,7 @@ metadata: This policy removes CPU limits from all Pods. pod-policies.kyverno.io/autogen-controllers: none spec: - generateExistingOnPolicyUpdate: true + mutateExistingOnPolicyUpdate: true rules: - name: remove-containers-cpu-limits match: diff --git a/kubernetes/apps/kyverno/kyverno/policies/volsync-movers.yaml b/kubernetes/apps/kyverno/kyverno/policies/volsync-movers.yaml index d6c1db48..8a69f3e2 100644 --- a/kubernetes/apps/kyverno/kyverno/policies/volsync-movers.yaml +++ b/kubernetes/apps/kyverno/kyverno/policies/volsync-movers.yaml @@ -10,7 +10,7 @@ metadata: This policy sets custom configuration on the Volsync mover Jobs. policies.kyverno.io/subject: Pod spec: - generateExistingOnPolicyUpdate: true + mutateExistingOnPolicyUpdate: true rules: - name: set-volsync-movers-custom-config match: