apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
  name: prometheus
spec:
  allowPrivilegeEscalation: false
  fsGroup:
    rule: MustRunAs
    ranges:
      - max: 65535
        min: 65535
  hostNetwork: false
  hostIPC: false
  hostPID: false
  privileged: false
  readOnlyRootFilesystem: true
  runAsGroup:
    rule: MustRunAs
    ranges:
      - max: 65535
        min: 65535
  runAsUser:
    rule: MustRunAs
    ranges:
      - max: 65535
        min: 65535
  seLinux:
    rule: RunAsAny
  supplementalGroups:
    rule: MustRunAs
    ranges:
      - max: 65535
        min: 65535
  volumes:
    - configMap
    - persistentVolumeClaim
