From 8f33979f652983dfe14028f99125ff3b7294de81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Tom=C5=A1i=C4=8D?= Date: Wed, 7 Jun 2023 14:35:21 +0200 Subject: [PATCH] matrix-synapse: Add option to modify wellknown service type --- charts/matrix-synapse/templates/well-known.yaml | 2 +- charts/matrix-synapse/values.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/matrix-synapse/templates/well-known.yaml b/charts/matrix-synapse/templates/well-known.yaml index cac0050..5ce2999 100644 --- a/charts/matrix-synapse/templates/well-known.yaml +++ b/charts/matrix-synapse/templates/well-known.yaml @@ -9,7 +9,7 @@ metadata: {{- include "matrix-synapse.labels" . | nindent 4 }} app.kubernetes.io/component: well-known spec: - type: ClusterIP + type: {{ .Values.wellknown.service.type | default "ClusterIP" }} ports: - port: 80 targetPort: http diff --git a/charts/matrix-synapse/values.yaml b/charts/matrix-synapse/values.yaml index dbcda8b..0c8e994 100644 --- a/charts/matrix-synapse/values.yaml +++ b/charts/matrix-synapse/values.yaml @@ -606,6 +606,11 @@ wellknown: # m.homeserver: # base_url: https://matrix.example.com + ## Configuration for the wellknown service. + ## + service: + type: ClusterIP + ## Extra data objects to serve under .well-known/matrix/ ## Dictionaries will be JSON converted, plain strings will be served as they are ##