mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 06:10:22 +00:00
deploy: add CSI-Addons endpoint
Deployments place all sockets for communicating with CSI components in the shared `/csi` directory. The CSI-Addons socket was introduced recently, but not configured to be in the same location (by default placed in `/tmp`). Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
74965fef41
commit
ee2e97b62d
@ -71,6 +71,7 @@ spec:
|
|||||||
- "--nodeserver=true"
|
- "--nodeserver=true"
|
||||||
- "--pidlimit=-1"
|
- "--pidlimit=-1"
|
||||||
- "--endpoint=$(CSI_ENDPOINT)"
|
- "--endpoint=$(CSI_ENDPOINT)"
|
||||||
|
- "--csi-addons-endpoint=$(CSI_ADDONS_ENDPOINT)"
|
||||||
- "--v={{ .Values.logLevel }}"
|
- "--v={{ .Values.logLevel }}"
|
||||||
- "--drivername=$(DRIVER_NAME)"
|
- "--drivername=$(DRIVER_NAME)"
|
||||||
{{- if .Values.topology.enabled }}
|
{{- if .Values.topology.enabled }}
|
||||||
@ -92,6 +93,8 @@ spec:
|
|||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
- name: CSI_ENDPOINT
|
- name: CSI_ENDPOINT
|
||||||
value: "unix:///csi/{{ .Values.pluginSocketFile }}"
|
value: "unix:///csi/{{ .Values.pluginSocketFile }}"
|
||||||
|
- name: CSI_ADDONS_ENDPOINT
|
||||||
|
value: "unix:///csi/csi-addons.sock"
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@ -137,6 +137,7 @@ spec:
|
|||||||
- "--controllerserver=true"
|
- "--controllerserver=true"
|
||||||
- "--pidlimit=-1"
|
- "--pidlimit=-1"
|
||||||
- "--endpoint=$(CSI_ENDPOINT)"
|
- "--endpoint=$(CSI_ENDPOINT)"
|
||||||
|
- "--csi-addons-endpoint=$(CSI_ADDONS_ENDPOINT)"
|
||||||
- "--v={{ .Values.logLevel }}"
|
- "--v={{ .Values.logLevel }}"
|
||||||
- "--drivername=$(DRIVER_NAME)"
|
- "--drivername=$(DRIVER_NAME)"
|
||||||
- "--rbdhardmaxclonedepth={{ .Values.provisioner.hardMaxCloneDepth }}"
|
- "--rbdhardmaxclonedepth={{ .Values.provisioner.hardMaxCloneDepth }}"
|
||||||
@ -162,6 +163,8 @@ spec:
|
|||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
- name: CSI_ENDPOINT
|
- name: CSI_ENDPOINT
|
||||||
value: "unix:///csi/{{ .Values.provisionerSocketFile }}"
|
value: "unix:///csi/{{ .Values.provisionerSocketFile }}"
|
||||||
|
- name: CSI_ADDONS_ENDPOINT
|
||||||
|
value: "unix:///csi/csi-addons.sock"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
|
@ -118,6 +118,7 @@ spec:
|
|||||||
- "--type=rbd"
|
- "--type=rbd"
|
||||||
- "--controllerserver=true"
|
- "--controllerserver=true"
|
||||||
- "--endpoint=$(CSI_ENDPOINT)"
|
- "--endpoint=$(CSI_ENDPOINT)"
|
||||||
|
- "--csi-addons-endpoint=$(CSI_ADDONS_ENDPOINT)"
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--drivername=rbd.csi.ceph.com"
|
- "--drivername=rbd.csi.ceph.com"
|
||||||
- "--pidlimit=-1"
|
- "--pidlimit=-1"
|
||||||
@ -141,6 +142,8 @@ spec:
|
|||||||
# value: encryptionConfig
|
# value: encryptionConfig
|
||||||
- name: CSI_ENDPOINT
|
- name: CSI_ENDPOINT
|
||||||
value: unix:///csi/csi-provisioner.sock
|
value: unix:///csi/csi-provisioner.sock
|
||||||
|
- name: CSI_ADDONS_ENDPOINT
|
||||||
|
value: unix:///csi/csi-addons.sock
|
||||||
imagePullPolicy: "IfNotPresent"
|
imagePullPolicy: "IfNotPresent"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
|
@ -58,6 +58,7 @@ spec:
|
|||||||
- "--type=rbd"
|
- "--type=rbd"
|
||||||
- "--nodeserver=true"
|
- "--nodeserver=true"
|
||||||
- "--endpoint=$(CSI_ENDPOINT)"
|
- "--endpoint=$(CSI_ENDPOINT)"
|
||||||
|
- "--csi-addons-endpoint=$(CSI_ADDONS_ENDPOINT)"
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--drivername=rbd.csi.ceph.com"
|
- "--drivername=rbd.csi.ceph.com"
|
||||||
- "--enableprofiling=false"
|
- "--enableprofiling=false"
|
||||||
@ -83,6 +84,8 @@ spec:
|
|||||||
# value: encryptionConfig
|
# value: encryptionConfig
|
||||||
- name: CSI_ENDPOINT
|
- name: CSI_ENDPOINT
|
||||||
value: unix:///csi/csi.sock
|
value: unix:///csi/csi.sock
|
||||||
|
- name: CSI_ADDONS_ENDPOINT
|
||||||
|
value: unix:///csi/csi-addons.sock
|
||||||
imagePullPolicy: "IfNotPresent"
|
imagePullPolicy: "IfNotPresent"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
|
Loading…
Reference in New Issue
Block a user