Skip to content

Commit

Permalink
fix(chart): mountpath typo fix
Browse files Browse the repository at this point in the history
Signed-off-by: Abhilash Shetty <[email protected]>
  • Loading branch information
abhilashshetty04 committed Mar 19, 2024
1 parent 3770e19 commit 35d0754
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions chart/templates/mayastor/agents/ha/ha-node-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down
8 changes: 4 additions & 4 deletions chart/templates/mayastor/csi/csi-node-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
Expand Down

0 comments on commit 35d0754

Please sign in to comment.