2019-02-07 09:59:26 +00:00
|
|
|
---
|
2018-07-18 14:48:43 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ServiceAccount
|
|
|
|
metadata:
|
2019-01-23 15:05:15 +00:00
|
|
|
name: rbd-csi-nodeplugin
|
2020-01-24 16:26:56 +00:00
|
|
|
---
|
|
|
|
kind: ClusterRole
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
metadata:
|
|
|
|
name: rbd-csi-nodeplugin
|
|
|
|
aggregationRule:
|
|
|
|
clusterRoleSelectors:
|
|
|
|
- matchLabels:
|
|
|
|
rbac.rbd.csi.ceph.com/aggregate-to-rbd-csi-nodeplugin: "true"
|
|
|
|
rules: []
|
|
|
|
---
|
|
|
|
kind: ClusterRole
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
metadata:
|
|
|
|
name: rbd-csi-nodeplugin-rules
|
|
|
|
labels:
|
|
|
|
rbac.rbd.csi.ceph.com/aggregate-to-rbd-csi-nodeplugin: "true"
|
|
|
|
rules:
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources: ["nodes"]
|
|
|
|
verbs: ["get"]
|
|
|
|
---
|
|
|
|
kind: ClusterRoleBinding
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
metadata:
|
|
|
|
name: rbd-csi-nodeplugin
|
|
|
|
subjects:
|
|
|
|
- kind: ServiceAccount
|
|
|
|
name: rbd-csi-nodeplugin
|
|
|
|
namespace: default
|
|
|
|
roleRef:
|
|
|
|
kind: ClusterRole
|
|
|
|
name: rbd-csi-nodeplugin
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|