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:
parent
025a477688
commit
e1a26f8eed
6 changed files with 16 additions and 16 deletions
|
@ -12,7 +12,7 @@ spec:
|
|||
ports:
|
||||
- hostPort: 20
|
||||
containerPort: 80
|
||||
initContainers:
|
||||
initContainers:
|
||||
- name: nginx2
|
||||
image: nginx
|
||||
args:
|
||||
|
|
|
@ -12,7 +12,7 @@ spec:
|
|||
ports:
|
||||
- hostPort: 0
|
||||
containerPort: 80
|
||||
initContainers:
|
||||
initContainers:
|
||||
- name: nginx2
|
||||
image: nginx
|
||||
args:
|
||||
|
|
|
@ -4,8 +4,8 @@ metadata:
|
|||
name: bad-pod
|
||||
spec:
|
||||
securityContext:
|
||||
windowsOptions:
|
||||
hostProcess: true
|
||||
windowsOptions:
|
||||
hostProcess: true
|
||||
containers:
|
||||
- name: nginx1
|
||||
image: nginx
|
||||
|
|
|
@ -5,8 +5,8 @@ metadata:
|
|||
spec:
|
||||
hostNetwork: true
|
||||
securityContext:
|
||||
windowsOptions:
|
||||
hostProcess: true
|
||||
windowsOptions:
|
||||
hostProcess: true
|
||||
containers:
|
||||
- name: nginx1
|
||||
image: nginx
|
||||
|
|
|
@ -4,8 +4,8 @@ metadata:
|
|||
name: good-pod
|
||||
spec:
|
||||
securityContext:
|
||||
windowsOptions:
|
||||
hostProcess: false
|
||||
windowsOptions:
|
||||
hostProcess: false
|
||||
containers:
|
||||
- name: nginx1
|
||||
image: nginx
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue