Replaced part of backup sidecar template with template function from subchart (specifically
All checks were successful
Deploy the Helm Chart / build (push) Successful in 15s

osql.envvars) which should mean variable naming mismatch shouldn't happen there anymore
This commit is contained in:
Alan Bridgeman 2025-12-25 13:21:15 -06:00
parent fdfeea1c47
commit bfb8f8ef23

View file

@ -21,15 +21,7 @@
name: {{ .Release.Name }}-vault-snapshot-config name: {{ .Release.Name }}-vault-snapshot-config
key: port key: port
{{- end }} {{- end }}
{{- if eq .Values.nosql.type "mongodb" }} {{- include "nosql.envVars" . | nindent 2 }}{{- include "nosql.envVars" . | nindent 2 }}
# NoSQL storage related environment variables
# Note, we only worry about self-hosted options as cloud-based should have their own backups etc...
- name: STORAGE_ACCOUNT_CONNECTION_STRING
valueFrom:
secretKeyRef:
name: {{ .Release.Name }}-mongo-credentials
key: connection-string
{{- end }}
# Redis is used for BullMQ, which is how we schedule backups # Redis is used for BullMQ, which is how we schedule backups
# We use this instead of, for instance cron jobs, as it lets us deal with failures # We use this instead of, for instance cron jobs, as it lets us deal with failures
{{- include "cache.envVars" . | nindent 2 }} {{- include "cache.envVars" . | nindent 2 }}