matrix-synapse: Fix remainders of old serverName
This commit is contained in:
parent
73a9542625
commit
92c529446b
5 changed files with 8 additions and 8 deletions
|
@ -7,7 +7,7 @@ accesses to the services yourself.
|
|||
|
||||
Your Synapse install is now starting, you should soon be able to access it on
|
||||
the following URL(s);
|
||||
{{- range (concat .Values.ingress.hosts (list .Values.config.serverName)) }}
|
||||
{{- range (concat .Values.ingress.csHosts (list (.Values.publicServerName | default .Values.serverName))) }}
|
||||
{{- if $.Values.ingress.tls }}
|
||||
https://{{ . }}
|
||||
{{- else }}
|
||||
|
|
|
@ -33,8 +33,8 @@ data:
|
|||
|
||||
## Server ##
|
||||
|
||||
server_name: {{ required "You need to specify a server name" .Values.config.serverName | quote }}
|
||||
public_baseurl: {{ .Values.config.publicBaseurl | default (printf "https://%s" (.Values.config.publicServerName | default .Values.config.serverName)) | quote }}
|
||||
server_name: {{ required "You need to specify a serverName" .Values.serverName | quote }}
|
||||
public_baseurl: {{ .Values.config.publicBaseurl | default (printf "https://%s" (.Values.publicServerName | default .Values.serverName)) | quote }}
|
||||
pid_file: /homeserver.pid
|
||||
web_client: False
|
||||
soft_file_limit: 0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{- $needsVolumePermissions := and .Values.volumePermissions.enabled (or .Values.persistence.enabled .Values.persistence.existingClaim) }}
|
||||
---
|
||||
# Server: {{ required "A valid .Values.config.serverName is required" .Values.config.serverName }}
|
||||
# Server: {{ required "A valid serverName is required" .Values.serverName }}
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
|
|
@ -29,15 +29,15 @@ spec:
|
|||
rules:
|
||||
{{- $csHosts := .Values.ingress.csHosts }}
|
||||
{{- if .Values.ingress.includeServerName }}
|
||||
{{- $csHosts = concat (list (.Values.config.publicServerName | default .Values.config.serverName)) $csHosts }}
|
||||
{{- $csHosts = concat (list (.Values.publicServerName | default .Values.serverName)) $csHosts }}
|
||||
{{- end }}
|
||||
{{- $s2sHosts := .Values.ingress.hosts }}
|
||||
{{- if .Values.ingress.includeServerName }}
|
||||
{{- $s2sHosts = concat (list .Values.config.serverName) $s2sHosts }}
|
||||
{{- $s2sHosts = concat (list .Values.serverName) $s2sHosts }}
|
||||
{{- end }}
|
||||
{{- $wkHosts := .Values.ingress.wkHosts }}
|
||||
{{- if .Values.ingress.includeServerName }}
|
||||
{{- $wkHosts = concat (list .Values.config.serverName) $wkHosts }}
|
||||
{{- $wkHosts = concat (list .Values.serverName) $wkHosts }}
|
||||
{{- end }}
|
||||
{{- $hosts := uniq (concat $s2sHosts $csHosts $wkHosts) }}
|
||||
{{- range $hosts }}
|
||||
|
|
|
@ -39,5 +39,5 @@ data:
|
|||
"content-type" => "application/json"
|
||||
)
|
||||
server.json: |-
|
||||
{{ dict "m.server" (printf "%s:%d" (.Values.wellknown.host | default (.Values.config.publicServerName | default .Values.config.serverName)) (.Values.wellknown.port | default 443)) | toJson | indent 4 }}
|
||||
{{ dict "m.server" (printf "%s:%d" (.Values.wellknown.host | default (.Values.publicServerName | default .Values.serverName)) (.Values.wellknown.port | default 443)) | toJson | indent 4 }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue