From d1bd8dc5a238123856458beee9defa9a9c839ef7 Mon Sep 17 00:00:00 2001 From: cunningpike <117583036+cunningpike@users.noreply.github.com> Date: Tue, 21 Feb 2023 14:35:06 -0500 Subject: [PATCH] Update cronjob-fediblock-sync.yaml --- chart/templates/cronjob-fediblock-sync.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/chart/templates/cronjob-fediblock-sync.yaml b/chart/templates/cronjob-fediblock-sync.yaml index b19302b..8e18aee 100644 --- a/chart/templates/cronjob-fediblock-sync.yaml +++ b/chart/templates/cronjob-fediblock-sync.yaml @@ -29,6 +29,10 @@ spec: volumeMounts: - name: config mountPath: {{ include "fediblockhole.conf_file_path" . | quote }} + - name: allow + mountPath: {{ include "fediblockhole.allow_file_path" . | quote }} + - name: block + mountPath: {{ include "fediblockhole.block_file_path" . | quote }} volumes: - name: config configMap: @@ -36,4 +40,16 @@ spec: items: - key: {{ include "fediblockhole.conf_file_filename" . | quote }} path: {{ include "fediblockhole.conf_file_filename" . | quote }} + - name: allow + configMap: + name: {{ include "fediblockhole.fullname" . }}-allow-csv + items: + - key: {{ include "fediblockhole.allow_file_filename" . | quote }} + path: {{ include "fediblockhole.allow_file_filename" . | quote }} + - name: config + configMap: + name: {{ include "fediblockhole.fullname" . }}-block-csv + items: + - key: {{ include "fediblockhole.block_file_filename" . | quote }} + path: {{ include "fediblockhole.block_file_filename" . | quote }} {{- end }}