mirror of
https://github.com/truenas/charts.git
synced 2026-04-29 04:51:31 +08:00
19 lines
659 B
Smarty
19 lines
659 B
Smarty
{{- define "postgres.workload" -}}
|
|
{{/* Postgres Database */}}
|
|
workload:
|
|
{{- include "ix.v1.common.app.postgres" (dict "secretName" "postgres-creds"
|
|
"resources" .Values.resources
|
|
"ixChartContext" .Values.ixChartContext) | nindent 2 }}
|
|
|
|
{{/* Service */}}
|
|
service:
|
|
{{- include "ix.v1.common.app.postgresService" $ | nindent 2 }}
|
|
|
|
{{/* Persistence */}}
|
|
persistence:
|
|
{{- include "ix.v1.common.app.postgresPersistence"
|
|
(dict "pgData" .Values.vaultwardenStorage.pgData
|
|
"pgBackup" .Values.vaultwardenStorage.pgBackup
|
|
) | nindent 2 }}
|
|
{{- end -}}
|