You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

csi-controller-rbac.yaml 1.3 kB

1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # This YAML file contains RBAC API objects that are necessary to run external
  2. # CSI attacher for rclone adapter
  3. apiVersion: v1
  4. kind: ServiceAccount
  5. metadata:
  6. name: csi-controller-rclone
  7. namespace: kube-system
  8. ---
  9. kind: ClusterRole
  10. apiVersion: rbac.authorization.k8s.io/v1
  11. metadata:
  12. name: external-controller-rclone
  13. rules:
  14. - apiGroups: [""]
  15. resources: ["persistentvolumes"]
  16. verbs: ["get", "list", "watch", "update"]
  17. - apiGroups: [""]
  18. resources: ["nodes"]
  19. verbs: ["get", "list", "watch"]
  20. - apiGroups: ["csi.storage.k8s.io"]
  21. resources: ["csinodeinfos"]
  22. verbs: ["get", "list", "watch"]
  23. - apiGroups: ["storage.k8s.io"]
  24. resources: ["volumeattachments"]
  25. verbs: ["get", "list", "watch", "update"]
  26. - apiGroups: ["storage.k8s.io"]
  27. resources: ["volumeattachments/status"]
  28. verbs: ["patch"]
  29. - apiGroups: ["coordination.k8s.io"]
  30. resources: ["leases"]
  31. verbs: ["get", "create", "update"]
  32. - apiGroups: [""]
  33. resources: ["events"]
  34. verbs: ["create"]
  35. ---
  36. kind: ClusterRoleBinding
  37. apiVersion: rbac.authorization.k8s.io/v1
  38. metadata:
  39. name: csi-attacher-role-rclone
  40. subjects:
  41. - kind: ServiceAccount
  42. name: csi-controller-rclone
  43. namespace: kube-system
  44. roleRef:
  45. kind: ClusterRole
  46. name: external-controller-rclone
  47. apiGroup: rbac.authorization.k8s.io

本项目旨在将云际存储公共基础设施化,使个人及企业可低门槛使用高效的云际存储服务(安装开箱即用云际存储客户端即可,无需关注其他组件的部署),同时支持用户灵活便捷定制云际存储的功能细节。