matrix-media-repo: Fix non-standard postgres ports

This commit is contained in:
Alexander Olofsson 2023-03-19 15:03:09 +01:00
parent 149da56298
commit 8b3ec66704
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ description: Matrix media repository with multi-domain in mind.
appVersion: 1.2.13 appVersion: 1.2.13
type: application type: application
version: 2.0.1 version: 2.0.2
maintainers: maintainers:
- name: Alexander Olofsson - name: Alexander Olofsson
email: ace@haxalot.com email: ace@haxalot.com

View file

@ -11,7 +11,7 @@ stringData:
{{- if or .Values.postgresql.sslMode .Values.externalPostgresql.sslMode }} {{- if or .Values.postgresql.sslMode .Values.externalPostgresql.sslMode }}
{{- $sslmode = printf "?sslmode=%s" (.Values.postgresql.sslMode | default .Values.externalPostgresql.sslMode) }} {{- $sslmode = printf "?sslmode=%s" (.Values.postgresql.sslMode | default .Values.externalPostgresql.sslMode) }}
{{- end }} {{- 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: | 00-redis.yaml: |
redis: redis: