Skip to content
Snippets Groups Projects
Unverified Commit 7dec8e5c authored by rptaylor's avatar rptaylor Committed by GitHub
Browse files

specify runAsGroup, allow safe sysctls by default (#7399)

parent 49abf600
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,11 @@ podsecuritypolicy_restricted_spec:
rule: 'MustRunAsNonRoot'
seLinux:
rule: 'RunAsAny'
runAsGroup:
rule: 'MustRunAs'
ranges:
- min: 1
max: 65535
supplementalGroups:
rule: 'MustRunAs'
ranges:
......@@ -30,8 +35,6 @@ podsecuritypolicy_restricted_spec:
- min: 1
max: 65535
readOnlyRootFilesystem: false
forbiddenSysctls:
- '*'
podsecuritypolicy_privileged_spec:
privileged: true
......@@ -50,6 +53,8 @@ podsecuritypolicy_privileged_spec:
rule: 'RunAsAny'
seLinux:
rule: 'RunAsAny'
runAsGroup:
rule: 'RunAsAny'
supplementalGroups:
rule: 'RunAsAny'
fsGroup:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment