Skip to content

Commit

Permalink
fix: disallow-privilege-escalation (cel)
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
  • Loading branch information
eddycharly committed Oct 7, 2024
1 parent 72247b8 commit f6e5072
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
steps:
- name: step-01
try:
- apply:
- create:
file: ../disallow-privilege-escalation.yaml
- patch:
resource:
Expand All @@ -24,16 +24,16 @@ spec:
file: policy-ready.yaml
- name: step-02
try:
- apply:
- create:
file: pod-good.yaml
- apply:
- create:
expect:
- check:
($error != null): true
file: pod-bad.yaml
- apply:
- create:
file: podcontroller-good.yaml
- apply:
- create:
expect:
- check:
($error != null): true
Expand Down

0 comments on commit f6e5072

Please sign in to comment.