swap deprecated field

This commit is contained in:
Joseph Hanson 2024-10-29 09:18:20 -05:00
parent 5c16d00df6
commit 1da4f8c090
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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: