_postgres.tpl 840 B

1234567891011121314151617181920
  1. {{- define "postgres.workload" -}}
  2. workload:
  3. {{- include "ix.v1.common.app.postgres" (dict "secretName" "postgres-creds"
  4. "resources" .Values.resources
  5. "ixChartContext" .Values.ixChartContext) | nindent 2 }}
  6. {{/* Service */}}
  7. service:
  8. {{- include "ix.v1.common.app.postgresService" $ | nindent 2 }}
  9. {{- include "minio.storage.ci.migration" (dict "storage" .Values.minioLogging.logsearch.pgData) }}
  10. {{- include "minio.storage.ci.migration" (dict "storage" .Values.minioLogging.logsearch.pgBackup) }}
  11. {{/* Persistence */}}
  12. persistence:
  13. {{- include "ix.v1.common.app.postgresPersistence"
  14. (dict "pgData" .Values.minioLogging.logsearch.pgData
  15. "pgBackup" .Values.minioLogging.logsearch.pgBackup
  16. ) | nindent 2 }}
  17. {{- end -}}