nfs_clusterrole.yaml 639 B

1234567891011121314151617181920
  1. kind: ClusterRole
  2. apiVersion: rbac.authorization.k8s.io/v1
  3. metadata:
  4. name: nfs-client-provisioner-runner
  5. rules:
  6. - apiGroups: [""]
  7. resources: ["persistentvolumes"]
  8. verbs: ["get", "list", "watch", "create", "delete"]
  9. - apiGroups: [""]
  10. resources: ["persistentvolumeclaims"]
  11. verbs: ["get", "list", "watch", "update"]
  12. - apiGroups: ["storage.k8s.io"]
  13. resources: ["storageclasses"]
  14. verbs: ["get", "list", "watch"]
  15. - apiGroups: [""]
  16. resources: ["events"]
  17. verbs: ["create", "update", "patch"]
  18. - apiGroups: [""]
  19. resources: ["endpoints"]
  20. verbs: ["get", "list", "watch", "create", "update", "patch"]