ansible-role-k8s-storage/files/longhorn/longhorn-psp-PodSecurityPolicy.yaml
Adrien 8cc1e01af4
All checks were successful
continuous-integration/drone/push Build is passing
Update longhorn
2020-08-24 15:20:25 +02:00

29 lines
512 B
YAML

apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: longhorn-psp
spec:
privileged: true
allowPrivilegeEscalation: true
requiredDropCapabilities:
- NET_RAW
allowedCapabilities:
- SYS_ADMIN
hostNetwork: false
hostIPC: false
hostPID: true
runAsUser:
rule: RunAsAny
seLinux:
rule: RunAsAny
fsGroup:
rule: RunAsAny
supplementalGroups:
rule: RunAsAny
volumes:
- configMap
- downwardAPI
- emptyDir
- secret
- projected
- hostPath