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
575 B

  1. ---
  2. # Pulled from https://github.com/coreos/flannel/blob/master/Documentation/kube-flannel-rbac.yml
  3. kind: ClusterRole
  4. apiVersion: rbac.authorization.k8s.io/v1
  5. metadata:
  6. name: flannel
  7. rules:
  8. - apiGroups:
  9. - ""
  10. resources:
  11. - pods
  12. verbs:
  13. - get
  14. - apiGroups:
  15. - ""
  16. resources:
  17. - nodes
  18. verbs:
  19. - list
  20. - watch
  21. - apiGroups:
  22. - ""
  23. resources:
  24. - nodes/status
  25. verbs:
  26. - patch
  27. - apiGroups:
  28. - policy
  29. resourceNames:
  30. - privileged
  31. resources:
  32. - podsecuritypolicies
  33. verbs:
  34. - use