Update cronjob-fediblock-sync.yaml
This commit is contained in:
parent
098958a916
commit
bd79f5558c
|
@ -30,14 +30,17 @@ spec:
|
||||||
- "{{- include "fediblockhole.conf_file_path" . -}}{{- include "fediblockhole.conf_file_filename" . -}}"
|
- "{{- include "fediblockhole.conf_file_path" . -}}{{- include "fediblockhole.conf_file_filename" . -}}"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: {{ include "fediblockhole.conf_file_path" . | quote }}
|
mountPath: "{{- include "fediblockhole.conf_file_path" . -}}{{- include "fediblockhole.conf_file_filename" . -}}"
|
||||||
{{- with .Values.fediblockhole.allow_file.path }}
|
subPath: "{{- include "fediblockhole.conf_file_filename" . -}}"
|
||||||
- name: allow
|
{{ if .Values.fediblockhole.allow_file.filename }}
|
||||||
mountPath: {{ . | quote }}
|
- name: allowfile
|
||||||
|
mountPath: "{{- include "fediblockhole.conf_file_path" . -}}{{- .Values.fediblockhole.allow_file.filename -}}"
|
||||||
|
subPath: "{{- .Values.fediblockhole.allow_file.filename -}}"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- with .Values.fediblockhole.block_file.path }}
|
{{ if .Values.fediblockhole.block_file.filename }}
|
||||||
- name: block
|
- name: blockfile
|
||||||
mountPath: {{ . | quote }}
|
mountPath: "{{- include "fediblockhole.conf_file_path" . -}}{{- .Values.fediblockhole.block_file.filename -}}"
|
||||||
|
subPath: "{{- .Values.fediblockhole.block_file.filename -}}"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
|
@ -46,20 +49,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 }}
|
{{ if .Values.fediblockhole.allow_file.filename }}
|
||||||
- name: allow
|
- name: allowfile
|
||||||
configMap:
|
configMap:
|
||||||
name: fediblockhole-allow-csv
|
name: {{ include "fediblockhole.fullname" . }}-allow-csv
|
||||||
items:
|
items:
|
||||||
- key: {{ . | quote }}
|
- key: {{ .Values.fediblockhole.allow_file.filename | quote }}
|
||||||
path: {{ . | quote }}
|
path: {{ .Values.fediblockhole.allow_file.filename | quote }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- with .Values.fediblockhole.block_file.filename }}
|
{{ if .Values.fediblockhole.block_file.filename }}
|
||||||
- name: block
|
- name: blockfile
|
||||||
configMap:
|
configMap:
|
||||||
name: fediblockhole-block-csv
|
name: {{ include "fediblockhole.fullname" . }}-block-csv
|
||||||
items:
|
items:
|
||||||
- key: {{ . | quote }}
|
- key: {{ .Values.fediblockhole.block_file.filename | quote }}
|
||||||
path: {{ . | quote }}
|
path: {{ .Values.fediblockhole.block_file.filename | quote }}
|
||||||
{{end }}
|
{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue