diff --git a/chart/templates/cronjob-fediblock-sync.yaml b/chart/templates/cronjob-fediblock-sync.yaml index bcbf286..8be3992 100644 --- a/chart/templates/cronjob-fediblock-sync.yaml +++ b/chart/templates/cronjob-fediblock-sync.yaml @@ -25,19 +25,19 @@ spec: command: - fediblock - -c - - {{ .Values.fediblockhole.conf_file_path }}{{ .Values.fediblockhole.conf_file_filename }} + - {{- include "fediblockhole.conf_file_path" . }}{{- include "fediblockhole.conf_file_filename" . }} envFrom: - configMapRef: name: {{ include "fediblockhole.fullname" . }}-conf-toml volumeMounts: - name: config - mountPath: "{{ .Values.fediblockhole.conf_file_path }}" - subPath: {{ .Values.fediblockhole.conf_file_filename }} + mountPath: {{- "include fediblockhole.conf_file_path" . | quote }} + subPath: {{- include "fediblockhole.conf_file_filename" . }} volumes: - name: config configMap: name: {{ include "fediblockhole.fullname" . }}-conf-toml items: - - key: "{{ .Values.fediblockhole.conf_file_filename }}" - path: "{{ .Values.fediblockhole.conf_file_filename }}" + - key: {{- include "fediblockhole.conf_file_filename" . | quote }} + path: {{- include "fediblockhole.conf_file_filename" . | quote }} {{- end }}