Created
July 7, 2020 10:20
-
-
Save IronCore864/7412f70e7a2b410f7451d74655040dd0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: policy/v1beta1 | |
kind: PodSecurityPolicy | |
metadata: | |
name: eks.privileged | |
annotations: | |
kubernetes.io/description: 'privileged allows full unrestricted access to | |
pod features, as if the PodSecurityPolicy controller was not enabled.' | |
seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*' | |
labels: | |
kubernetes.io/cluster-service: "true" | |
eks.amazonaws.com/component: pod-security-policy | |
spec: | |
privileged: true | |
allowPrivilegeEscalation: true | |
allowedCapabilities: | |
- '*' | |
volumes: | |
- '*' | |
hostNetwork: true | |
hostPorts: | |
- min: 0 | |
max: 65535 | |
hostIPC: true | |
hostPID: true | |
runAsUser: | |
rule: 'RunAsAny' | |
seLinux: | |
rule: 'RunAsAny' | |
supplementalGroups: | |
rule: 'RunAsAny' | |
fsGroup: | |
rule: 'RunAsAny' | |
readOnlyRootFilesystem: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment