matrix-synapse: Add option to modify wellknown service port
This commit is contained in:
parent
8f33979f65
commit
ac7a940c38
3 changed files with 4 additions and 3 deletions
|
@ -170,11 +170,11 @@ spec:
|
||||||
service:
|
service:
|
||||||
name: {{ $wkName }}
|
name: {{ $wkName }}
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: {{ $.Values.wellknown.service.port | default 80 }}
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
{{- else }}
|
{{- else }}
|
||||||
serviceName: {{ $wkName }}
|
serviceName: {{ $wkName }}
|
||||||
servicePort: 80
|
servicePort: {{ $.Values.wellknown.service.port | default 80 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
- path: /.well-known/matrix
|
- path: /.well-known/matrix
|
||||||
|
|
|
@ -11,7 +11,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.wellknown.service.type | default "ClusterIP" }}
|
type: {{ .Values.wellknown.service.type | default "ClusterIP" }}
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: {{ .Values.wellknown.service.port | default 80 }}
|
||||||
targetPort: http
|
targetPort: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
|
|
|
@ -610,6 +610,7 @@ wellknown:
|
||||||
##
|
##
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
port: 80
|
||||||
|
|
||||||
## Extra data objects to serve under .well-known/matrix/<data>
|
## Extra data objects to serve under .well-known/matrix/<data>
|
||||||
## Dictionaries will be JSON converted, plain strings will be served as they are
|
## Dictionaries will be JSON converted, plain strings will be served as they are
|
||||||
|
|
Loading…
Reference in a new issue