matrix-synapse: Allow configuring bind addresses
This commit is contained in:
parent
43aaae9dc5
commit
44cbbb4f28
3 changed files with 13 additions and 6 deletions
|
@ -64,11 +64,12 @@ data:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
## Ports ##
|
## Ports ##
|
||||||
|
{{- $bindAddresses := .Values.config.bindAddresses | default (list "::") }}
|
||||||
|
|
||||||
listeners:
|
listeners:
|
||||||
- port: 8008
|
- port: 8008
|
||||||
tls: false
|
tls: false
|
||||||
bind_addresses: ['::']
|
bind_addresses: {{ toJson $bindAddresses }}
|
||||||
type: http
|
type: http
|
||||||
x_forwarded: true
|
x_forwarded: true
|
||||||
|
|
||||||
|
@ -83,7 +84,7 @@ data:
|
||||||
|
|
||||||
- port: 9090
|
- port: 9090
|
||||||
tls: false
|
tls: false
|
||||||
bind_addresses: ['::']
|
bind_addresses: {{ toJson $bindAddresses }}
|
||||||
type: http
|
type: http
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
@ -92,7 +93,7 @@ data:
|
||||||
|
|
||||||
- port: 9093
|
- port: 9093
|
||||||
tls: false
|
tls: false
|
||||||
bind_addresses: ['::']
|
bind_addresses: {{ toJson $bindAddresses }}
|
||||||
type: http
|
type: http
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -29,11 +29,12 @@ data:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
worker_name: {{ $config.name }}
|
worker_name: {{ $config.name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- $bindAddresses := $config.bindAddresses | default $.Values.config.bindAddresses | default (list "::") }}
|
||||||
|
|
||||||
worker_listeners:
|
worker_listeners:
|
||||||
- port: 9090
|
- port: 9090
|
||||||
tls: false
|
tls: false
|
||||||
bind_addresses: ['::']
|
bind_addresses: {{ toJson $bindAddresses }}
|
||||||
type: http
|
type: http
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
@ -47,7 +48,7 @@ data:
|
||||||
|
|
||||||
- port: 9093
|
- port: 9093
|
||||||
tls: false
|
tls: false
|
||||||
bind_addresses: ['::']
|
bind_addresses: {{ toJson $bindAddresses }}
|
||||||
type: http
|
type: http
|
||||||
x_forwarded: true
|
x_forwarded: true
|
||||||
|
|
||||||
|
@ -58,7 +59,7 @@ data:
|
||||||
|
|
||||||
- port: 8083
|
- port: 8083
|
||||||
tls: false
|
tls: false
|
||||||
bind_addresses: ['::']
|
bind_addresses: {{ toJson $bindAddresses }}
|
||||||
type: http
|
type: http
|
||||||
x_forwarded: true
|
x_forwarded: true
|
||||||
|
|
||||||
|
|
|
@ -128,6 +128,11 @@ config:
|
||||||
# verify_keys:
|
# verify_keys:
|
||||||
# "ed25519:auto": "Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw"
|
# "ed25519:auto": "Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw"
|
||||||
|
|
||||||
|
## The bind addresses to use for the default listeners
|
||||||
|
##
|
||||||
|
# bindAddresses:
|
||||||
|
# - '::'
|
||||||
|
|
||||||
## Extra listeners to configure.
|
## Extra listeners to configure.
|
||||||
##
|
##
|
||||||
extraListeners: []
|
extraListeners: []
|
||||||
|
|
Loading…
Reference in a new issue