apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
  name: psp.falco
  annotations:
    seccomp.security.alpha.kubernetes.io/allowedProfileNames: "docker/default,runtime/default"
    apparmor.security.beta.kubernetes.io/allowedProfileNames: "runtime/default"
    seccomp.security.alpha.kubernetes.io/defaultProfileName:  "runtime/default"
    apparmor.security.beta.kubernetes.io/defaultProfileName:  "runtime/default"
spec:
  privileged: true
  hostNetwork: true
  hostPID: false
  hostIPC: false
  allowPrivilegeEscalation: true
  requiredDropCapabilities:
  - "*"
  seLinux:
    rule: RunAsAny
  supplementalGroups:
    rule: MustRunAs
    ranges:
    - min: 1
      max: 65535
  runAsUser:
    rule: RunAsAny
  fsGroup:
    rule: RunAsAny
  runAsGroup:
    rule: RunAsAny
  volumes:
  - hostPath
  - emptyDir
  - configMap
  - secret
