diff --git a/charts/matrix-synapse/templates/configuration.yaml b/charts/matrix-synapse/templates/configuration.yaml index aa945a2..7f04dee 100644 --- a/charts/matrix-synapse/templates/configuration.yaml +++ b/charts/matrix-synapse/templates/configuration.yaml @@ -51,7 +51,12 @@ data: x_forwarded: true resources: - - names: [client,federation] + - names: + - client + - federation +{{- with .Values.config.extraMainListenerTypes -}} + {{ . | toYaml | nindent 14 }} +{{- end }} compress: false - port: 9090 diff --git a/charts/matrix-synapse/values.yaml b/charts/matrix-synapse/values.yaml index 70dddfb..dbcda8b 100644 --- a/charts/matrix-synapse/values.yaml +++ b/charts/matrix-synapse/values.yaml @@ -135,6 +135,11 @@ config: # bind_addresses: ['::'] # type: manhole + ## Extra listener types to add onto the main listener. + ## + extraMainListenerTypes: [] + # - consent + ## Specify arbitrary Synapse configuration here; ## Ref: https://github.com/matrix-org/synapse/blob/develop/docs/sample_config.yaml ##