Fix helm chart
This commit is contained in:
parent
2c58bab6a8
commit
2035649b6d
|
@ -1,15 +1,9 @@
|
||||||
{{- define "validate.config" }}
|
{{- define "validate.config" }}
|
||||||
{{- if not .Values.signing_key.create -}}
|
{{- if not (or .Values.signing_key.create .Values.signing_key.existingSecret) -}}
|
||||||
{{- fail "You must create a signing key for configuration.signing_key. (see https://github.com/matrix-org/dendrite/blob/master/docs/INSTALL.md#server-key-generation)" -}}
|
{{- fail "You must create a signing key for configuration.signing_key. (see https://github.com/matrix-org/dendrite/blob/master/docs/INSTALL.md#server-key-generation)" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if not (or .Values.dendrite_config.global.database.host .Values.postgresql.enabled) -}}
|
{{- if not (or .Values.dendrite_config.global.database.connection_string .Values.postgresql.enabled) -}}
|
||||||
{{- fail "Database server must be set." -}}
|
{{- fail "Database connection string must be set." -}}
|
||||||
{{- end -}}
|
|
||||||
{{- if not (or .Values.dendrite_config.global.database.user .Values.postgresql.enabled) -}}
|
|
||||||
{{- fail "Database user must be set." -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- if not (or .Values.dendrite_config.global.database.password .Values.postgresql.enabled) -}}
|
|
||||||
{{- fail "Database password must be set." -}}
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue