mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-14 21:27:11 +00:00
* update notReadOnlyRootFilesystem check * remove run as user * add pod level testing to notreadonlyrootFileSystem and update schema_test.go file Co-authored-by: Robert Brennan <accounts@rbren.io>
16 lines
257 B
YAML
16 lines
257 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: nginx
|
|
labels:
|
|
env: test
|
|
spec:
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
containers:
|
|
- name: container-a
|
|
securityContext:
|
|
readOnlyRootFilesystem: true
|
|
- name: container-b
|
|
|