matrix-synapse: Add option to modify wellknown service port

This commit is contained in:
Jan Tomšič 2023-06-07 16:18:21 +02:00
parent 8f33979f65
commit ac7a940c38
3 changed files with 4 additions and 3 deletions

View file

@ -170,11 +170,11 @@ spec:
service:
name: {{ $wkName }}
port:
number: 80
number: {{ $.Values.wellknown.service.port | default 80 }}
pathType: Prefix
{{- else }}
serviceName: {{ $wkName }}
servicePort: 80
servicePort: {{ $.Values.wellknown.service.port | default 80 }}
{{- end }}
{{- else }}
- path: /.well-known/matrix

View file

@ -11,7 +11,7 @@ metadata:
spec:
type: {{ .Values.wellknown.service.type | default "ClusterIP" }}
ports:
- port: 80
- port: {{ .Values.wellknown.service.port | default 80 }}
targetPort: http
protocol: TCP
name: http

View file

@ -610,6 +610,7 @@ wellknown:
##
service:
type: ClusterIP
port: 80
## Extra data objects to serve under .well-known/matrix/<data>
## Dictionaries will be JSON converted, plain strings will be served as they are