mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-15 05:37:21 +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>
12 lines
207 B
YAML
12 lines
207 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: nginx
|
|
labels:
|
|
env: test
|
|
spec:
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
containers:
|
|
- securityContext:
|
|
readOnlyRootFilesystem: true |