Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. apiVersion: rbac.authorization.k8s.io/v1
  2. kind: ClusterRole
  3. metadata:
  4. name: system:nodes:volumeattachments
  5. rules:
  6. - apiGroups:
  7. - storage.k8s.io
  8. resources:
  9. - volumeattachments
  10. verbs:
  11. - create
  12. - watch
  13. - get
  14. - list
  15. - patch
  16. - update
  17. - delete
  18. ---
  19. apiVersion: rbac.authorization.k8s.io/v1
  20. kind: ClusterRoleBinding
  21. metadata:
  22. name: system:nodes:volumeattachments
  23. roleRef:
  24. apiGroup: rbac.authorization.k8s.io
  25. kind: ClusterRole
  26. name: system:nodes:volumeattachments
  27. subjects:
  28. - apiGroup: rbac.authorization.k8s.io
  29. kind: Group
  30. name: system:nodes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement