Files
chart/library/ix-dev/enterprise/minio/templates/_postgres.tpl
2024-01-09 12:01:23 +02:00

21 lines
840 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 */}}
service:
{{- include "ix.v1.common.app.postgresService" $ | nindent 2 }}
{{- include "minio.storage.ci.migration" (dict "storage" .Values.minioLogging.logsearch.pgData) }}
{{- include "minio.storage.ci.migration" (dict "storage" .Values.minioLogging.logsearch.pgBackup) }}
{{/* Persistence */}}
persistence:
{{- include "ix.v1.common.app.postgresPersistence"
(dict "pgData" .Values.minioLogging.logsearch.pgData
"pgBackup" .Values.minioLogging.logsearch.pgBackup
) | nindent 2 }}
{{- end -}}