Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Bugwadia <[email protected]>
  • Loading branch information
JimBugwadia committed Oct 7, 2024
1 parent 9b057c2 commit 128ff6e
Showing 1 changed file with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ spec:
containers:
- name: container01
image: ghcr.io/kyverno/test-busybox:1.35
securityContext:
runAsNonRoot: true
allowPrivilegeEscalation: true
---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -53,6 +56,8 @@ spec:
containers:
- name: container01
image: ghcr.io/kyverno/test-busybox:1.35
securityContext:
allowPrivilegeEscalation: true
- name: container02
image: ghcr.io/kyverno/test-busybox:1.35
securityContext:
Expand Down Expand Up @@ -80,7 +85,7 @@ spec:
- name: container02
image: ghcr.io/kyverno/test-busybox:1.35
securityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: true
---
apiVersion: apps/v1
kind: Deployment
Expand All @@ -99,6 +104,8 @@ spec:
initContainers:
- name: initcontainer01
image: ghcr.io/kyverno/test-busybox:1.35
securityContext:
allowPrivilegeEscalation: true
containers:
- name: container01
image: ghcr.io/kyverno/test-busybox:1.35
Expand Down Expand Up @@ -129,8 +136,6 @@ spec:
containers:
- name: container01
image: ghcr.io/kyverno/test-busybox:1.35
securityContext:
allowPrivilegeEscalation: false
---
apiVersion: batch/v1
kind: CronJob
Expand All @@ -146,6 +151,9 @@ spec:
containers:
- name: container01
image: ghcr.io/kyverno/test-busybox:1.35
securityContext:
runAsNonRoot: true
allowPrivilegeEscalation: true
---
apiVersion: batch/v1
kind: CronJob
Expand Down Expand Up @@ -178,10 +186,12 @@ spec:
containers:
- name: container01
image: ghcr.io/kyverno/test-busybox:1.35
securityContext:
allowPrivilegeEscalation: true
- name: container02
image: ghcr.io/kyverno/test-busybox:1.35
securityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: true
---
apiVersion: batch/v1
kind: CronJob
Expand Down Expand Up @@ -222,7 +232,7 @@ spec:
- name: container01
image: ghcr.io/kyverno/test-busybox:1.35
securityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: true
---
apiVersion: batch/v1
kind: CronJob
Expand All @@ -246,5 +256,5 @@ spec:
- name: container01
image: ghcr.io/kyverno/test-busybox:1.35
securityContext:
allowPrivilegeEscalation: false
allowPrivilegeEscalation: true
---

0 comments on commit 128ff6e

Please sign in to comment.