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