mirror of
https://github.com/truenas/charts.git
synced 2026-04-14 10:40:31 +08:00
17 lines
601 B
Smarty
17 lines
601 B
Smarty
{{- define "postgres.workload" -}}
|
|
workload:
|
|
{{- include "ix.v1.common.app.postgres" (dict "secretName" "postgres-creds"
|
|
"resources" .Values.resources
|
|
"ixChartContext" .Values.ixChartContext) | nindent 2 }}
|
|
|
|
service:
|
|
{{- include "ix.v1.common.app.postgresService" $ | nindent 2 }}
|
|
|
|
{{/* Persistence */}}
|
|
persistence:
|
|
{{- include "ix.v1.common.app.postgresPersistence"
|
|
(dict "pgData" .Values.giteaStorage.pgData
|
|
"pgBackup" .Values.giteaStorage.pgBackup
|
|
) | nindent 2 }}
|
|
{{- end -}}
|