Update cronjob-fediblock-sync.yaml

This commit is contained in:
cunningpike 2023-02-21 14:35:06 -05:00 committed by GitHub
parent 5fb81fa227
commit d1bd8dc5a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

View File

@ -29,6 +29,10 @@ spec:
volumeMounts: volumeMounts:
- name: config - name: config
mountPath: {{ include "fediblockhole.conf_file_path" . | quote }} 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: volumes:
- name: config - name: config
configMap: configMap:
@ -36,4 +40,16 @@ spec:
items: items:
- key: {{ include "fediblockhole.conf_file_filename" . | quote }} - key: {{ include "fediblockhole.conf_file_filename" . | quote }}
path: {{ 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 }} {{- end }}