From f393a2cf044dd8c99d92319ff85fe70a88b5fdcf Mon Sep 17 00:00:00 2001 From: cunningpike <117583036+cunningpike@users.noreply.github.com> Date: Mon, 23 Jan 2023 12:43:55 -0500 Subject: [PATCH] Update cronjob-fediblock-sync.yaml --- chart/templates/cronjob-fediblock-sync.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 }}