Files
polaris/test/checks/runAsPrivileged/failure.two_cont.yaml
Cydnee Owens cbc15ad069 Pod level testing (#546)
* update runAsPrivileged to test at pod level

* update runAsPrivileged to test at pod level

* add pod level success/failure tests

* add insuecure capabilities pod level testing

* update checks to include good/bad security

* update checks for good/bad security

* remove good security from runAsPrivileged
2021-05-25 12:59:28 -04:00

14 lines
225 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: nginx
labels:
env: test
spec:
securityContext:
privileged: false
containers:
- securityContext:
privileged: true
- securityContext:
privileged: false