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-nodeplugin-rbac.yaml 1.1 kB

1 year ago
12345678910111213141516171819202122232425262728293031323334353637383940
  1. # This YAML defines all API objects to create RBAC roles for CSI node plugin
  2. apiVersion: v1
  3. kind: ServiceAccount
  4. metadata:
  5. name: csi-nodeplugin-rclone
  6. namespace: kube-system
  7. ---
  8. kind: ClusterRole
  9. apiVersion: rbac.authorization.k8s.io/v1
  10. metadata:
  11. name: csi-nodeplugin-rclone
  12. rules:
  13. - apiGroups: [""]
  14. resources: ["persistentvolumes"]
  15. verbs: ["get", "list", "watch", "update"]
  16. - apiGroups: [""]
  17. resources: ["secrets", "secret"]
  18. verbs: ["get", "list"]
  19. - apiGroups: [""]
  20. resources: ["nodes"]
  21. verbs: ["get", "list", "watch", "update"]
  22. - apiGroups: ["storage.k8s.io"]
  23. resources: ["volumeattachments"]
  24. verbs: ["get", "list", "watch", "update"]
  25. - apiGroups: [""]
  26. resources: ["events"]
  27. verbs: ["get", "list", "watch", "create", "update", "patch"]
  28. ---
  29. kind: ClusterRoleBinding
  30. apiVersion: rbac.authorization.k8s.io/v1
  31. metadata:
  32. name: csi-nodeplugin-rclone
  33. subjects:
  34. - kind: ServiceAccount
  35. name: csi-nodeplugin-rclone
  36. namespace: kube-system
  37. roleRef:
  38. kind: ClusterRole
  39. name: csi-nodeplugin-rclone
  40. apiGroup: rbac.authorization.k8s.io

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