mirror of
https://github.com/truenas/charts.git
synced 2026-04-14 02:30:53 +08:00
16 lines
507 B
Smarty
16 lines
507 B
Smarty
{{- define "postgres.workload" -}}
|
|
workload:
|
|
{{- include "ix.v1.common.app.postgres" (dict "secretName" "postgres-creds" "resources" .Values.resources) | nindent 2 }}
|
|
|
|
{{/* Service */}}
|
|
service:
|
|
{{- include "ix.v1.common.app.postgresService" $ | nindent 2 }}
|
|
|
|
{{/* Persistence */}}
|
|
persistence:
|
|
{{- include "ix.v1.common.app.postgresPersistence"
|
|
(dict "pgData" .Values.minioLogging.logsearch.pgData
|
|
"pgBackup" .Values.minioLogging.logsearch.pgBackup
|
|
) | nindent 2 }}
|
|
{{- end -}}
|