Update cronjob-fediblock-sync.yaml
This commit is contained in:
parent
d7803dfd72
commit
4492a0920a
|
@ -25,7 +25,7 @@ spec:
|
||||||
command:
|
command:
|
||||||
- fediblock
|
- fediblock
|
||||||
- -c
|
- -c
|
||||||
- {{ .Values.fediblockhole.conf_file }}
|
- {{ .Values.fediblockhole.conf_file.path }}{{ .Values.fediblockhole.conf_file.filename }}
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: {{ include "fediblockhole.fullname" . }}-env
|
name: {{ include "fediblockhole.fullname" . }}-env
|
||||||
|
@ -33,6 +33,13 @@ spec:
|
||||||
name: {{ template "fediblockhole.secretName" . }}
|
name: {{ template "fediblockhole.secretName" . }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: "path/in/the/pod/where/to/mount/the/file"
|
mountPath: "{{ .Values.fediblockhole.conf_file.path }}"
|
||||||
subPath: file.conf
|
subPath: {{ .Values.fediblockhole.conf_file.filename }}
|
||||||
|
volumes:
|
||||||
|
- name: config
|
||||||
|
configMap:
|
||||||
|
name: {{ include "fediblockhole.fullname" . }}-env
|
||||||
|
items:
|
||||||
|
- key: "{{ .Values.fediblockhole.conf_file.filename }}"
|
||||||
|
path: "{{ .Values.fediblockhole.conf_file.filename }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue