Skip to content

Commit

Permalink
deploy: add RBAC rules for cluster-driver-registrar
Browse files Browse the repository at this point in the history
  • Loading branch information
fatih committed Dec 19, 2018
1 parent 95db56c commit 2602eb9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions deploy/kubernetes/releases/csi-digitalocean-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,30 @@ roleRef:

---

kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: csi-do-cluster-driver-registrar-role
rules:
- apiGroups: ["csi.storage.k8s.io"]
resources: ["csidrivers"]
verbs: ["create", "delete"]

---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: csi-do-cluster-driver-registrar-binding
subjects:
- kind: ServiceAccount
name: csi-do-controller-sa
namespace: kube-system
roleRef:
kind: ClusterRole
name: csi-do-cluster-driver-registrar-role
apiGroup: rbac.authorization.k8s.io

---

########################################
########### ############
Expand Down

0 comments on commit 2602eb9

Please sign in to comment.