matrix-synapse: Add option to modify wellknown service type

This commit is contained in:
Jan Tomšič 2023-06-07 14:35:21 +02:00
parent 46dc49b0ca
commit 8f33979f65
2 changed files with 6 additions and 1 deletions

View file

@ -9,7 +9,7 @@ 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: 80
targetPort: http targetPort: http

View file

@ -606,6 +606,11 @@ 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
## 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
## ##