Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: rbac.authorization.k8s.io/v1
- kind: ClusterRole
- metadata:
- name: system:nodes:volumeattachments
- rules:
- - apiGroups:
- - storage.k8s.io
- resources:
- - volumeattachments
- verbs:
- - create
- - watch
- - get
- - list
- - patch
- - update
- - delete
- ---
- apiVersion: rbac.authorization.k8s.io/v1
- kind: ClusterRoleBinding
- metadata:
- name: system:nodes:volumeattachments
- roleRef:
- apiGroup: rbac.authorization.k8s.io
- kind: ClusterRole
- name: system:nodes:volumeattachments
- subjects:
- - apiGroup: rbac.authorization.k8s.io
- kind: Group
- name: system:nodes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement