From 8b3ec66704d0ff1dbb23d35fa2c973b8d39e9934 Mon Sep 17 00:00:00 2001 From: Alexander Olofsson Date: Sun, 19 Mar 2023 15:03:09 +0100 Subject: [PATCH] matrix-media-repo: Fix non-standard postgres ports --- charts/matrix-media-repo/Chart.yaml | 2 +- charts/matrix-media-repo/templates/secrets.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/matrix-media-repo/Chart.yaml b/charts/matrix-media-repo/Chart.yaml index c16a00a..62c91c4 100644 --- a/charts/matrix-media-repo/Chart.yaml +++ b/charts/matrix-media-repo/Chart.yaml @@ -5,7 +5,7 @@ description: Matrix media repository with multi-domain in mind. appVersion: 1.2.13 type: application -version: 2.0.1 +version: 2.0.2 maintainers: - name: Alexander Olofsson email: ace@haxalot.com diff --git a/charts/matrix-media-repo/templates/secrets.yaml b/charts/matrix-media-repo/templates/secrets.yaml index 054eaab..3336f88 100644 --- a/charts/matrix-media-repo/templates/secrets.yaml +++ b/charts/matrix-media-repo/templates/secrets.yaml @@ -11,7 +11,7 @@ stringData: {{- if or .Values.postgresql.sslMode .Values.externalPostgresql.sslMode }} {{- $sslmode = printf "?sslmode=%s" (.Values.postgresql.sslMode | default .Values.externalPostgresql.sslMode) }} {{- end }} - postgres: "postgres://{{ include "matrix-media-repo.postgresql.username" . }}:{{ required "A password must be provided for Postgres" (include "matrix-media-repo.postgresql.password" .) }}@{{ include "matrix-media-repo.postgresql.host" . }}/{{ include "matrix-media-repo.postgresql.database" . }}{{ $sslmode }}" + postgres: "postgres://{{ include "matrix-media-repo.postgresql.username" . }}:{{ required "A password must be provided for Postgres" (include "matrix-media-repo.postgresql.password" .) }}@{{ include "matrix-media-repo.postgresql.host" . }}:{{ include "matrix-media-repo.postgresql.port" . }}/{{ include "matrix-media-repo.postgresql.database" . }}{{ $sslmode }}" 00-redis.yaml: | redis: