Skip to content

Commit

Permalink
Rename clusterrole binding to be clear about it being specific to linode
Browse files Browse the repository at this point in the history
  • Loading branch information
phillc committed Oct 16, 2020
1 parent 0794a0d commit 66bea24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions deploy/kubernetes/base/accounts-roles-bindings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: driver-registrar-role
name: linode-csi-role
namespace: kube-system
rules:
- apiGroups: [""]
Expand All @@ -21,15 +21,15 @@ rules:
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: driver-registrar-binding
name: linode-csi-binding
namespace: kube-system
subjects:
- kind: ServiceAccount
name: csi-node-sa
namespace: kube-system
roleRef:
kind: ClusterRole
name: driver-registrar-role
name: linode-csi-role
apiGroup: rbac.authorization.k8s.io
---
##### Controller Service Account, Roles, Rolebindings
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/base/ds-csi-linode-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
mountPath: /scripts
hostNetwork: true
containers:
- name: csi-driver-registrar
- name: csi-node-driver-registrar
image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v1.3.0
args:
- "--v=2"
Expand Down

0 comments on commit 66bea24

Please sign in to comment.