matrix-media-repo: Remove old postgres sanitycheck
This commit is contained in:
parent
542a327dae
commit
8268839d80
2 changed files with 1 additions and 10 deletions
|
@ -5,7 +5,7 @@ description: Matrix media repository with multi-domain in mind.
|
|||
appVersion: 1.2.13
|
||||
|
||||
type: application
|
||||
version: 2.0.2
|
||||
version: 2.1.0
|
||||
maintainers:
|
||||
- name: Alexander Olofsson
|
||||
email: ace@haxalot.com
|
||||
|
|
|
@ -120,9 +120,6 @@ Set postgresql username
|
|||
*/}}
|
||||
{{- define "matrix-media-repo.postgresql.username" -}}
|
||||
{{- if .Values.postgresql.enabled -}}
|
||||
{{- if .Values.postgresql.postgresqlUsername -}}
|
||||
{{- fail "You need to switch to the new postgresql.auth values." -}}
|
||||
{{- end -}}
|
||||
{{- .Values.postgresql.auth.username | default "postgres" }}
|
||||
{{- else -}}
|
||||
{{ required "A valid externalPostgresql.username is required" .Values.externalPostgresql.username }}
|
||||
|
@ -134,9 +131,6 @@ Set postgresql password
|
|||
*/}}
|
||||
{{- define "matrix-media-repo.postgresql.password" -}}
|
||||
{{- if .Values.postgresql.enabled -}}
|
||||
{{- if .Values.postgresql.postgresqlPassword -}}
|
||||
{{- fail "You need to switch to the new postgresql.auth values." -}}
|
||||
{{- end -}}
|
||||
{{- .Values.postgresql.auth.password | default "" }}
|
||||
{{- else -}}
|
||||
{{ required "A valid externalPostgresql.password is required" .Values.externalPostgresql.password }}
|
||||
|
@ -148,9 +142,6 @@ Set postgresql database
|
|||
*/}}
|
||||
{{- define "matrix-media-repo.postgresql.database" -}}
|
||||
{{- if .Values.postgresql.enabled -}}
|
||||
{{- if .Values.postgresql.postgresqlDatabase -}}
|
||||
{{- fail "You need to switch to the new postgresql.auth values." -}}
|
||||
{{- end -}}
|
||||
{{- .Values.postgresql.auth.database | default "synapse" }}
|
||||
{{- else -}}
|
||||
{{ required "A valid externalPostgresql.database is required" .Values.externalPostgresql.database }}
|
||||
|
|
Loading…
Reference in a new issue