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