From 35d0754fc2b56bd17e953ffb5d2f5d1b671ce1e6 Mon Sep 17 00:00:00 2001 From: Abhilash Shetty Date: Tue, 19 Mar 2024 05:57:54 +0000 Subject: [PATCH] fix(chart): mountpath typo fix Signed-off-by: Abhilash Shetty --- chart/templates/mayastor/agents/ha/ha-node-daemonset.yaml | 4 ++-- chart/templates/mayastor/csi/csi-node-daemonset.yaml | 8 ++++---- chart/values.yaml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/chart/templates/mayastor/agents/ha/ha-node-daemonset.yaml b/chart/templates/mayastor/agents/ha/ha-node-daemonset.yaml index dd39764fb..91fe71e63 100644 --- a/chart/templates/mayastor/agents/ha/ha-node-daemonset.yaml +++ b/chart/templates/mayastor/agents/ha/ha-node-daemonset.yaml @@ -71,7 +71,7 @@ spec: value: "1" args: - "--node-name=$(MY_NODE_NAME)" - - "--csi-socket={{ .Values.csi.node.pluginMounthPath }}/{{ .Values.csi.node.socketPath }}" + - "--csi-socket={{ .Values.csi.node.pluginMountPath }}/{{ .Values.csi.node.socketPath }}" - "--grpc-endpoint=$(MY_POD_IP):50053" - "--cluster-agent=https://{{ .Release.Name }}-agent-core:50052"{{ if .Values.base.jaeger.enabled }} - "--jaeger={{ .Values.base.jaeger.agent.name }}:{{ .Values.base.jaeger.agent.port }}"{{ end }}{{ if .Values.eventing.enabled }} @@ -86,7 +86,7 @@ spec: - name: run-udev mountPath: /run/udev - name: plugin-dir - mountPath: {{ .Values.csi.node.pluginMounthPath }} + mountPath: {{ .Values.csi.node.pluginMountPath }} resources: limits: cpu: {{ .Values.agents.ha.node.resources.limits.cpu | quote }} diff --git a/chart/templates/mayastor/csi/csi-node-daemonset.yaml b/chart/templates/mayastor/csi/csi-node-daemonset.yaml index 5614ec528..2b0548506 100644 --- a/chart/templates/mayastor/csi/csi-node-daemonset.yaml +++ b/chart/templates/mayastor/csi/csi-node-daemonset.yaml @@ -78,7 +78,7 @@ spec: - name: RUST_BACKTRACE value: "1" args: - - "--csi-socket={{ .Values.csi.node.pluginMounthPath }}/{{ .Values.csi.node.socketPath }}" + - "--csi-socket={{ .Values.csi.node.pluginMountPath }}/{{ .Values.csi.node.socketPath }}" - "--node-name=$(MY_NODE_NAME)" - "--rest-endpoint=http://{{ .Release.Name }}-api-rest:8081" - "--enable-registration" @@ -105,7 +105,7 @@ spec: - name: run-udev mountPath: /run/udev - name: plugin-dir - mountPath: {{ .Values.csi.node.pluginMounthPath }} + mountPath: {{ .Values.csi.node.pluginMountPath }} - name: kubelet-dir mountPath: {{ .Values.csi.node.kubeletDir }} mountPropagation: "Bidirectional" @@ -120,11 +120,11 @@ spec: image: "{{ .Values.csi.image.registry }}/{{ .Values.csi.image.repo }}/csi-node-driver-registrar:{{ .Values.csi.image.registrarTag }}" imagePullPolicy: {{ .Values.csi.image.pullPolicy }} args: - - "--csi-address={{ .Values.csi.node.pluginMounthPath }}/{{ .Values.csi.node.socketPath }}" + - "--csi-address={{ .Values.csi.node.pluginMountPath }}/{{ .Values.csi.node.socketPath }}" - "--kubelet-registration-path={{ .Values.csi.node.kubeletDir }}/plugins/io.openebs.mayastor/csi.sock" volumeMounts: - name: plugin-dir - mountPath: {{ .Values.csi.node.pluginMounthPath }} + mountPath: {{ .Values.csi.node.pluginMountPath }} - name: registration-dir mountPath: /registration resources: diff --git a/chart/values.yaml b/chart/values.yaml index bc3200fc6..e3337bd39 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -335,7 +335,7 @@ csi: keep_alive_tmo: "" # -- The kubeletDir directory for the csi-node plugin kubeletDir: /var/lib/kubelet - pluginMounthPath: /csi + pluginMountPath: /csi socketPath: csi.sock # -- Set tolerations, overrides global tolerations: []