Update cronjob-fediblock-sync.yaml

This commit is contained in:
cunningpike 2023-01-21 19:44:38 -05:00 committed by GitHub
parent d7803dfd72
commit 4492a0920a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 3 deletions

View File

@ -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 }}