Skip to content

Commit

Permalink
DB Backup job should use same credentials as DB
Browse files Browse the repository at this point in the history
  • Loading branch information
vicsufer authored Dec 11, 2024
1 parent 866e742 commit 6ccfe15
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/firefly-db/templates/backup.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: IfNotPresent
envFrom:
{{- if not .Values.configs.existingSecret }}
- configMapRef:
name: {{ template "firefly-db.fullname" . }}-config
{{- else }}
- secretRef:
name: {{ .Values.configs.existingSecret }}
{{- end }}
command:
- /bin/sh
- -c
Expand Down

0 comments on commit 6ccfe15

Please sign in to comment.