Simplify GCE PD CSI Socket path

This commit is contained in:
David Zhu 2018-11-16 12:00:27 -08:00
parent d0c3cd182c
commit 5c0948c9f1

View File

@ -17,7 +17,7 @@ spec:
image: gcr.io/gke-release/csi-driver-registrar:v1.0.0-gke.0
args:
- "--v=5"
- "--csi-address=/var/lib/kubelet/plugins/pd.csi.storage.gke.io/csi.sock"
- "--csi-address=/csi/csi.sock"
- "--kubelet-registration-path=/var/lib/kubelet/plugins/pd.csi.storage.gke.io/csi.sock"
lifecycle:
preStop:
@ -30,7 +30,7 @@ spec:
fieldPath: spec.nodeName
volumeMounts:
- name: plugin-dir
mountPath: /var/lib/kubelet/plugins/pd.csi.storage.gke.io/
mountPath: /csi
- name: registration-dir
mountPath: /registration
- name: gce-pd-driver