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.

34 lines
624 B

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