diff --git a/chart/templates/cronjob-fediblock-sync.yaml b/chart/templates/cronjob-fediblock-sync.yaml index 408bb84..3a026d0 100644 --- a/chart/templates/cronjob-fediblock-sync.yaml +++ b/chart/templates/cronjob-fediblock-sync.yaml @@ -25,16 +25,16 @@ spec: command: - fediblock-sync - -c - - {{- include "fediblockhole.conf_file_path" . -}}{{- include "fediblockhole.conf_file_filename" . }} - volumeMounts: - - name: config - mountPath: {{ include "fediblockhole.conf_file_path" . | quote }} - subPath: {{ include "fediblockhole.conf_file_filename" . }} + - "{{- include "fediblockhole.conf_file_path" . -}}{{- include "fediblockhole.conf_file_filename" . -}}" + volumeMounts: + - name: config + 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: {{ include "fediblockhole.conf_file_filename" . | quote }} - path: {{ include "fediblockhole.conf_file_filename" . | quote }} + path: {{ include "fediblockhole.conf_file_filename" . | quote }} {{- end }}