You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.2 KiB

  1. ---
  2. podsecuritypolicy_restricted_spec:
  3. privileged: false
  4. allowPrivilegeEscalation: false
  5. requiredDropCapabilities:
  6. - ALL
  7. volumes:
  8. - 'configMap'
  9. - 'emptyDir'
  10. - 'projected'
  11. - 'secret'
  12. - 'downwardAPI'
  13. - 'persistentVolumeClaim'
  14. hostNetwork: false
  15. hostIPC: false
  16. hostPID: false
  17. runAsUser:
  18. rule: 'MustRunAsNonRoot'
  19. seLinux:
  20. rule: 'RunAsAny'
  21. runAsGroup:
  22. rule: 'MustRunAs'
  23. ranges:
  24. - min: 1
  25. max: 65535
  26. supplementalGroups:
  27. rule: 'MustRunAs'
  28. ranges:
  29. - min: 1
  30. max: 65535
  31. fsGroup:
  32. rule: 'MustRunAs'
  33. ranges:
  34. - min: 1
  35. max: 65535
  36. readOnlyRootFilesystem: false
  37. podsecuritypolicy_privileged_spec:
  38. privileged: true
  39. allowPrivilegeEscalation: true
  40. allowedCapabilities:
  41. - '*'
  42. volumes:
  43. - '*'
  44. hostNetwork: true
  45. hostPorts:
  46. - min: 0
  47. max: 65535
  48. hostIPC: true
  49. hostPID: true
  50. runAsUser:
  51. rule: 'RunAsAny'
  52. seLinux:
  53. rule: 'RunAsAny'
  54. runAsGroup:
  55. rule: 'RunAsAny'
  56. supplementalGroups:
  57. rule: 'RunAsAny'
  58. fsGroup:
  59. rule: 'RunAsAny'
  60. readOnlyRootFilesystem: false
  61. # This will fail if allowed-unsafe-sysctls is not set accordingly in kubelet flags
  62. allowedUnsafeSysctls:
  63. - '*'