From ae17f46fd6612c72ccbc1897368fc2cd3a426b3d Mon Sep 17 00:00:00 2001 From: cunningpike <117583036+cunningpike@users.noreply.github.com> Date: Tue, 21 Feb 2023 16:43:17 -0500 Subject: [PATCH] Update cronjob-fediblock-sync.yaml --- chart/templates/cronjob-fediblock-sync.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/chart/templates/cronjob-fediblock-sync.yaml b/chart/templates/cronjob-fediblock-sync.yaml index 2069563..bf5b390 100644 --- a/chart/templates/cronjob-fediblock-sync.yaml +++ b/chart/templates/cronjob-fediblock-sync.yaml @@ -33,9 +33,9 @@ spec: mountPath: {{ include "fediblockhole.conf_file_path" . | quote }} - name: allow mountPath: {{ include "fediblockhole.allow_file_path" . | quote }} - {{- with fediblockhole.block_file_path }} + {{- with .Values.fediblockhole.block_file }} - name: block - mountPath: {{ . | quote }} + mountPath: {{ .path | quote }} {{ end }} volumes: - name: config @@ -50,14 +50,12 @@ spec: items: - key: {{ include "fediblockhole.allow_file_filename" . | quote }} path: {{ include "fediblockhole.allow_file_filename" . | quote }} - {{- with fediblockhole.block_file_path }} + {{- with .Values.fediblockhole.block_file }} - name: block configMap: name: {{ include "fediblockhole.fullname" . }}-block-csv - {{- with fediblockhole.block_file_filename }} items: - - key: {{ . | quote }} - path: {{ . | quote }} - {{ end }} + - key: {{ .filename | quote }} + path: {{ .filename | quote }} {{end }} {{- end }}