mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 08:10:20 +00:00
helm: Fix plugin socket path
PR #1736 made the kubelet path configurable. It also introduced a change in the path to the CSI socket. By default the path is now `/var/lib/kubelet/cephfs.csi.ceph.com/csi.sock` instead of `/var/lib/kubelet/plugins/cephfs.csi.ceph.com/csi.sock`. This PR restores the old default. Signed-off-by: Matthias Neugebauer <matthias.neugebauer@uni-muenster.de>
This commit is contained in:
parent
582d004ca5
commit
50a720f13d
@ -43,7 +43,7 @@ spec:
|
|||||||
args:
|
args:
|
||||||
- "--v={{ .Values.logLevel }}"
|
- "--v={{ .Values.logLevel }}"
|
||||||
- "--csi-address=/csi/{{ .Values.pluginSocketFile }}"
|
- "--csi-address=/csi/{{ .Values.pluginSocketFile }}"
|
||||||
- "--kubelet-registration-path={{ .Values.kubeletDir }}/{{ .Values.driverName }}/{{ .Values.pluginSocketFile }}"
|
- "--kubelet-registration-path={{ .Values.kubeletDir }}/plugins/{{ .Values.driverName }}/{{ .Values.pluginSocketFile }}"
|
||||||
env:
|
env:
|
||||||
- name: KUBE_NODE_NAME
|
- name: KUBE_NODE_NAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@ -144,7 +144,7 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
hostPath:
|
hostPath:
|
||||||
path: "{{ .Values.kubeletDir }}/{{ .Values.driverName }}"
|
path: "{{ .Values.kubeletDir }}/plugins/{{ .Values.driverName }}"
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
- name: registration-dir
|
- name: registration-dir
|
||||||
hostPath:
|
hostPath:
|
||||||
|
@ -44,7 +44,7 @@ spec:
|
|||||||
args:
|
args:
|
||||||
- "--v={{ .Values.logLevel }}"
|
- "--v={{ .Values.logLevel }}"
|
||||||
- "--csi-address=/csi/{{ .Values.pluginSocketFile }}"
|
- "--csi-address=/csi/{{ .Values.pluginSocketFile }}"
|
||||||
- "--kubelet-registration-path={{ .Values.kubeletDir }}/{{ .Values.driverName }}/{{ .Values.pluginSocketFile }}"
|
- "--kubelet-registration-path={{ .Values.kubeletDir }}/plugins/{{ .Values.driverName }}/{{ .Values.pluginSocketFile }}"
|
||||||
env:
|
env:
|
||||||
- name: KUBE_NODE_NAME
|
- name: KUBE_NODE_NAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@ -144,7 +144,7 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
hostPath:
|
hostPath:
|
||||||
path: "{{ .Values.kubeletDir }}/{{ .Values.driverName }}"
|
path: "{{ .Values.kubeletDir }}/plugins/{{ .Values.driverName }}"
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
- name: registration-dir
|
- name: registration-dir
|
||||||
hostPath:
|
hostPath:
|
||||||
|
Loading…
Reference in New Issue
Block a user