Update cronjob-fediblock-sync.yaml

This commit is contained in:
cunningpike 2023-02-21 16:43:17 -05:00 committed by GitHub
parent 5ef72706d4
commit ae17f46fd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 7 deletions

View File

@ -33,9 +33,9 @@ spec:
mountPath: {{ include "fediblockhole.conf_file_path" . | quote }} mountPath: {{ include "fediblockhole.conf_file_path" . | quote }}
- name: allow - name: allow
mountPath: {{ include "fediblockhole.allow_file_path" . | quote }} mountPath: {{ include "fediblockhole.allow_file_path" . | quote }}
{{- with fediblockhole.block_file_path }} {{- with .Values.fediblockhole.block_file }}
- name: block - name: block
mountPath: {{ . | quote }} mountPath: {{ .path | quote }}
{{ end }} {{ end }}
volumes: volumes:
- name: config - name: config
@ -50,14 +50,12 @@ spec:
items: items:
- key: {{ include "fediblockhole.allow_file_filename" . | quote }} - key: {{ include "fediblockhole.allow_file_filename" . | quote }}
path: {{ 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 - name: block
configMap: configMap:
name: {{ include "fediblockhole.fullname" . }}-block-csv name: {{ include "fediblockhole.fullname" . }}-block-csv
{{- with fediblockhole.block_file_filename }}
items: items:
- key: {{ . | quote }} - key: {{ .filename | quote }}
path: {{ . | quote }} path: {{ .filename | quote }}
{{ end }}
{{end }} {{end }}
{{- end }} {{- end }}