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.

21 lines
341 B

  1. ---
  2. kind: ClusterRole
  3. apiVersion: rbac.authorization.k8s.io/v1beta1
  4. metadata:
  5. name: calico-node
  6. namespace: kube-system
  7. rules:
  8. - apiGroups: [""]
  9. resources:
  10. - pods
  11. - nodes
  12. verbs:
  13. - get
  14. - apiGroups:
  15. - policy
  16. resourceNames:
  17. - privileged
  18. resources:
  19. - podsecuritypolicies
  20. verbs:
  21. - use