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.

22 lines
670 B

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