mirror of
https://github.com/truenas/charts.git
synced 2026-04-09 05:39:24 +08:00
* init commit * add deployments * more config * syntax err * syntax err * add missing func * naming * lint * fix yaml * yaml * ci vals * ci port * perms * wrong pod * hmm * meh * no nginx without cert * db stuf * simplify * add nots * fixes * add todo * storage * test https * perms * actually mount the config * add some configs * update values * fsgroup * cmaps * update config * init quests * more test vals * more questions * nginx conf * cron * fix cron * meta * typo * additional storage goes to cron too * data and html * config * ui * values * fix * add backwards compat * make templ * use var * init migration * make exec * add todo * handle hostpaths too * update storage for backwards * typo * add redis * cleaner storage solution * br * rm * some cleanup * backup * whops * fsgroup * fix db script * bump image * remove test * test * todo * try this * lets try a hack * hmm * nope * eof * ofc * hmm * fix * explain the hack * update vers * remove todo * fix html storage * backwards compat
13 lines
650 B
Smarty
13 lines
650 B
Smarty
{{- define "postgres.workload" -}}
|
|
{{- $backupSecretName := "postgres-creds" -}}
|
|
{{- if eq (include "nextcloud.is-migration" $) "true" }}
|
|
{{- $backupSecretName = "postgres-backup-creds" -}}
|
|
{{- end }}
|
|
workload:
|
|
{{- include "ix.v1.common.app.postgres" (dict "secretName" "postgres-creds"
|
|
"backupSecretName" $backupSecretName
|
|
"resources" .Values.resources
|
|
"imageSelector" "ncPostgresImage"
|
|
"ixChartContext" .Values.ixChartContext) | nindent 2 }}
|
|
{{- end -}}
|