Update cronjob-fediblock-sync.yaml
This commit is contained in:
parent
10a624c026
commit
29ea3ad3dd
|
@ -31,11 +31,13 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: {{ include "fediblockhole.conf_file_path" . | quote }}
|
mountPath: {{ include "fediblockhole.conf_file_path" . | quote }}
|
||||||
|
{{- with .Values.fediblockhole.allow_file.path }}
|
||||||
- name: allow
|
- name: allow
|
||||||
mountPath: {{ include "fediblockhole.allow_file_path" . | quote }}
|
mountPath: {{ . | quote }}
|
||||||
{{- with .Values.fediblockhole.block_file }}
|
{{ end }}
|
||||||
|
{{- with .Values.fediblockhole.block_file.path }}
|
||||||
- name: block
|
- name: block
|
||||||
mountPath: {{ .path | quote }}
|
mountPath: {{ . | quote }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
|
@ -44,18 +46,20 @@ 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 }}
|
||||||
|
{{- with .Values.fediblockhole.allow_file.filename }}
|
||||||
- name: allow
|
- name: allow
|
||||||
configMap:
|
configMap:
|
||||||
name: {{ include "fediblockhole.fullname" . }}-allow-csv
|
name: fediblockhole-allow-csv
|
||||||
items:
|
items:
|
||||||
- key: {{ include "fediblockhole.allow_file_filename" . | quote }}
|
- key: {{ . | quote }}
|
||||||
path: {{ include "fediblockhole.allow_file_filename" . | quote }}
|
path: {{ . | quote }}
|
||||||
{{- with .Values.fediblockhole.block_file }}
|
{{ end }}
|
||||||
|
{{- with .Values.fediblockhole.block_file.filename }}
|
||||||
- name: block
|
- name: block
|
||||||
configMap:
|
configMap:
|
||||||
name: fediblockhole-block-csv
|
name: fediblockhole-block-csv
|
||||||
items:
|
items:
|
||||||
- key: {{ .filename | quote }}
|
- key: {{ . | quote }}
|
||||||
path: {{ .filename | quote }}
|
path: {{ . | quote }}
|
||||||
{{end }}
|
{{end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue