Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Feb 1, 2024
1 parent ea22d16 commit b53a23e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
9 changes: 3 additions & 6 deletions deploy/charts/rawfile-csi/templates/01-controller-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,9 @@ spec:
image: "{{ .Values.controller.image.repository }}:{{ .Values.controller.image.tag }}"
imagePullPolicy: {{ .Values.controller.image.pullPolicy }}
args:
{{- if regexMatch "\\/canonical\\/" .Values.controller.image.repository }}
- --args
- rawfile
{{- end }}
- csi-driver
- --disable-metrics
{{ range .Values.controller.csi-driver-args }}
- {{ . }}
{{ end }}
env:
- name: PROVISIONER_NAME
value: "{{ .Values.provisionerName }}"
Expand Down
2 changes: 1 addition & 1 deletion deploy/charts/rawfile-csi/templates/01-node-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
type: DirectoryOrCreate
- name: data-dir
hostPath:
path: "{{ .Values.node.storage.path }}"
path: {{ .Values.node.storage.path | quote }}
type: DirectoryOrCreate
containers:
- name: csi-driver
Expand Down
3 changes: 3 additions & 0 deletions deploy/charts/rawfile-csi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ defaults: &defaults

controller:
<<: *defaults
csi-driver-args:
- csi-driver
- --disable-metrics

node:
<<: *defaults
Expand Down

0 comments on commit b53a23e

Please sign in to comment.