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.

35 lines
649 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. namespace: kube-system
  24. labels:
  25. kubernetes.io/cluster-service: "true"
  26. addonmanager.kubernetes.io/mode: Reconcile
  27. rules:
  28. - apiGroups:
  29. - policy
  30. resourceNames:
  31. - restricted
  32. resources:
  33. - podsecuritypolicies
  34. verbs:
  35. - use