Skip to content

Commit

Permalink
fix: update kyverno-policy to remove mutate
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Choudhary <[email protected]>
  • Loading branch information
vishal-chdhry committed Jul 10, 2023
1 parent 0a9eb3b commit 26932f0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions configs/samples/kyverno-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
method: POST
data:
- key: images
value: "{{ images }}"
value: "{{images}}"
service:
url: https://svc.kyverno-notation-aws/checkimages
caBundle: |-
Expand Down Expand Up @@ -58,10 +58,10 @@ spec:
- key: "{{ response.verified }}"
operator: EQUALS
value: false
mutate:
foreach:
- list: "response.results"
patchesJson6902: |-
- path: {{ element.path }}
op: replace
value: {{ element.image }}
# mutate:
# foreach:
# - list: "response.results"
# patchesJson6902: |-
# - path: {{ element.path }}
# op: replace
# value: {{ element.image }}

0 comments on commit 26932f0

Please sign in to comment.