Merge branch 'template-update' into 'master'
matrix-synapse - Add option to modify wellknown service See merge request ananace/charts!48
This commit is contained in:
commit
ccbd816a68
3 changed files with 10 additions and 4 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
|
||||||
|
|
|
@ -9,9 +9,9 @@ metadata:
|
||||||
{{- include "matrix-synapse.labels" . | nindent 4 }}
|
{{- include "matrix-synapse.labels" . | nindent 4 }}
|
||||||
app.kubernetes.io/component: well-known
|
app.kubernetes.io/component: well-known
|
||||||
spec:
|
spec:
|
||||||
type: 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
|
||||||
|
|
|
@ -606,6 +606,12 @@ wellknown:
|
||||||
# m.homeserver:
|
# m.homeserver:
|
||||||
# base_url: https://matrix.example.com
|
# base_url: https://matrix.example.com
|
||||||
|
|
||||||
|
## Configuration for the wellknown service.
|
||||||
|
##
|
||||||
|
service:
|
||||||
|
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