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.

32 lines
540 B

  1. ---
  2. apiVersion: rbac.authorization.k8s.io/v1
  3. kind: ClusterRole
  4. metadata:
  5. name: psp:privileged
  6. labels:
  7. addonmanager.kubernetes.io/mode: Reconcile
  8. rules:
  9. - apiGroups:
  10. - policy
  11. resourceNames:
  12. - privileged
  13. resources:
  14. - podsecuritypolicies
  15. verbs:
  16. - use
  17. ---
  18. apiVersion: rbac.authorization.k8s.io/v1
  19. kind: ClusterRole
  20. metadata:
  21. name: psp:restricted
  22. labels:
  23. addonmanager.kubernetes.io/mode: Reconcile
  24. rules:
  25. - apiGroups:
  26. - policy
  27. resourceNames:
  28. - restricted
  29. resources:
  30. - podsecuritypolicies
  31. verbs:
  32. - use