mirror of
https://github.com/truenas/charts.git
synced 2026-05-16 14:12:59 +08:00
Publish new changes in catalog
This commit is contained in:
12
charts/nextcloud/2.0.21/templates/_postgres.tpl
Normal file
12
charts/nextcloud/2.0.21/templates/_postgres.tpl
Normal file
@@ -0,0 +1,12 @@
|
||||
{{- 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 -}}
|
||||
Reference in New Issue
Block a user