Skip to content

Commit

Permalink
deploy: cluster-driver-registrar is deprecated
Browse files Browse the repository at this point in the history
https://kubernetes.slack.com/archives/C8EJ01Z46/p1556001245131700

From @msau42:

> we're actually planning to deprecate cluster-driver-registrar and not
> release a version for 1.14.  Instead we are recommending that vendors
> just create the CSIDriver spec as part of the driver deployment
> packaging.  @lpabon is currently in the process of updating all the
> documentation to reflect this
  • Loading branch information
fatih committed Apr 23, 2019
1 parent cfac7cd commit a6f320e
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions deploy/kubernetes/releases/csi-digitalocean-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,18 +155,6 @@ spec:
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
- name: csi-cluster-driver-registrar
image: quay.io/k8scsi/csi-cluster-driver-registrar:v1.0.1
args:
- "--v=5"
- "--pod-info-mount-version=\"v1\""
- "--csi-address=$(ADDRESS)"
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
- name: csi-do-plugin
image: digitalocean/do-csi-plugin:dev
args :
Expand Down Expand Up @@ -327,31 +315,6 @@ 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

---

########################################
########### ############
########### Node plugin ############
Expand Down

0 comments on commit a6f320e

Please sign in to comment.