2018-07-20 14:56:38 +00:00
|
|
|
---
|
2020-04-15 10:18:02 +00:00
|
|
|
|
|
|
|
podsecuritypolicy_restricted_spec:
|
|
|
|
privileged: false
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
requiredDropCapabilities:
|
|
|
|
- ALL
|
|
|
|
volumes:
|
|
|
|
- 'configMap'
|
|
|
|
- 'emptyDir'
|
|
|
|
- 'projected'
|
|
|
|
- 'secret'
|
|
|
|
- 'downwardAPI'
|
|
|
|
- 'persistentVolumeClaim'
|
|
|
|
hostNetwork: false
|
|
|
|
hostIPC: false
|
|
|
|
hostPID: false
|
|
|
|
runAsUser:
|
|
|
|
rule: 'MustRunAsNonRoot'
|
|
|
|
seLinux:
|
|
|
|
rule: 'RunAsAny'
|
2021-03-25 15:03:30 +00:00
|
|
|
runAsGroup:
|
|
|
|
rule: 'MustRunAs'
|
|
|
|
ranges:
|
|
|
|
- min: 1
|
|
|
|
max: 65535
|
2020-04-15 10:18:02 +00:00
|
|
|
supplementalGroups:
|
|
|
|
rule: 'MustRunAs'
|
|
|
|
ranges:
|
|
|
|
- min: 1
|
|
|
|
max: 65535
|
|
|
|
fsGroup:
|
|
|
|
rule: 'MustRunAs'
|
|
|
|
ranges:
|
|
|
|
- min: 1
|
|
|
|
max: 65535
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
|
|
|
|
podsecuritypolicy_privileged_spec:
|
|
|
|
privileged: true
|
|
|
|
allowPrivilegeEscalation: true
|
|
|
|
allowedCapabilities:
|
|
|
|
- '*'
|
|
|
|
volumes:
|
|
|
|
- '*'
|
|
|
|
hostNetwork: true
|
|
|
|
hostPorts:
|
|
|
|
- min: 0
|
|
|
|
max: 65535
|
|
|
|
hostIPC: true
|
|
|
|
hostPID: true
|
|
|
|
runAsUser:
|
|
|
|
rule: 'RunAsAny'
|
|
|
|
seLinux:
|
|
|
|
rule: 'RunAsAny'
|
2021-03-25 15:03:30 +00:00
|
|
|
runAsGroup:
|
|
|
|
rule: 'RunAsAny'
|
2020-04-15 10:18:02 +00:00
|
|
|
supplementalGroups:
|
|
|
|
rule: 'RunAsAny'
|
|
|
|
fsGroup:
|
|
|
|
rule: 'RunAsAny'
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
# This will fail if allowed-unsafe-sysctls is not set accordingly in kubelet flags
|
|
|
|
allowedUnsafeSysctls:
|
|
|
|
- '*'
|