1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

fix PSA chainsaw tests (#9341)

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
This commit is contained in:
Mariam Fahmy 2024-01-05 02:57:40 +02:00 committed by GitHub
parent 025a477688
commit e1a26f8eed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 16 deletions

View file

@ -12,7 +12,7 @@ spec:
ports:
- hostPort: 20
containerPort: 80
initContainers:
initContainers:
- name: nginx2
image: nginx
args:

View file

@ -12,7 +12,7 @@ spec:
ports:
- hostPort: 0
containerPort: 80
initContainers:
initContainers:
- name: nginx2
image: nginx
args:

View file

@ -4,8 +4,8 @@ metadata:
name: bad-pod
spec:
securityContext:
windowsOptions:
hostProcess: true
windowsOptions:
hostProcess: true
containers:
- name: nginx1
image: nginx

View file

@ -5,8 +5,8 @@ metadata:
spec:
hostNetwork: true
securityContext:
windowsOptions:
hostProcess: true
windowsOptions:
hostProcess: true
containers:
- name: nginx1
image: nginx

View file

@ -4,8 +4,8 @@ metadata:
name: good-pod
spec:
securityContext:
windowsOptions:
hostProcess: false
windowsOptions:
hostProcess: false
containers:
- name: nginx1
image: nginx

View file

@ -11,11 +11,11 @@ spec:
- 1d
securityContext:
procMount: foo
# initContainers:
# - name: nginx2
# image: nginx
# args:
# - sleep
# - 1d
# securityContext:
# procMount: bar
initContainers:
- name: nginx2
image: nginx
args:
- sleep
- 1d
securityContext:
procMount: bar