Skip to content

Commit

Permalink
Merge branch 'main' into Nitish/demo
Browse files Browse the repository at this point in the history
  • Loading branch information
anusha94 authored Feb 7, 2024
2 parents 9c8be4a + dc52ca3 commit 8843e29
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ spec:
- Job
- DaemonSet
mutate:
foreach:
foreach:
- list: request.object.spec.template.spec.containers[]
order: Descending
preconditions:
all:
- key: "{{ element.securityContext && element.securityContext.privileged }}"
- key: "{{ element.securityContext && element.securityContext.privileged || 'false' }}"
operator: Equals
value: true
patchesJson6902: |-
Expand All @@ -36,7 +36,7 @@ spec:
order: Descending
preconditions:
all:
- key: "{{ element.securityContext && element.securityContext.privileged }}"
- key: "{{ element.securityContext && element.securityContext.privileged || 'false' }}"
operator: Equals
value: true
patchesJson6902: |-
Expand All @@ -47,7 +47,7 @@ spec:
order: Descending
preconditions:
all:
- key: "{{ element.securityContext && element.securityContext.privileged }}"
- key: "{{ element.securityContext && element.securityContext.privileged || 'false' }}"
operator: Equals
value: true
patchesJson6902: |-
Expand Down

0 comments on commit 8843e29

Please sign in to comment.