Skip to content

Commit 0d92591

Browse files
committed
fix-values
1 parent 6cd4f2b commit 0d92591

File tree

5 files changed

+17
-7
lines changed

5 files changed

+17
-7
lines changed

charts/synapse/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
name: synapse
3-
version: 0.0.10
3+
version: 0.0.11

charts/synapse/templates/matrix-authentication-hpa.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.matrixAuthentication.enabled }}
12
{{- if .Values.matrixAuthentication.autoscaling.enabled }}
23
---
34
{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion }}
@@ -31,3 +32,4 @@ spec:
3132
targetAverageUtilization: {{ .Values.matrixAuthentication.autoscaling.targetMemoryUtilizationPercentage }}
3233
{{- end }}
3334
{{- end }}
35+
{{- end }}

charts/synapse/templates/matrix-authentication-secret.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.matrixAuthentication.enabled }}
12
apiVersion: v1
23
kind: Secret
34
metadata:
@@ -83,3 +84,4 @@ stringData:
8384
{{- end }}
8485
{{- end }}
8586
{{ .Values.matrixAuthentication.configYaml | nindent 4 }}
87+
{{- end }}

charts/synapse/templates/synapse-configmap.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ data:
6969
dynamic_thumbnails: false
7070
max_upload_size: 100M
7171
email: ~
72-
enable_3pid_changes: false
72+
enable_3pid_changes: {{ $.Values.synapse.enable_3pid_changes }}
7373
enable_group_creation: false
7474
enable_registration: false
7575
enable_room_list_search: true
@@ -143,8 +143,8 @@ data:
143143
enable_metrics: true
144144
federation_domain_whitelist: {{- $federation_domain_whitelist | toYaml | nindent 6 }}
145145
federation_metrics_domains: {{- $federation_metrics_domains | toYaml | nindent 6 }}
146-
allow_profile_lookup_over_federation: false
147-
allow_device_name_lookup_over_federation: false
146+
allow_profile_lookup_over_federation: {{ $.Values.synapse.allow_profile_lookup_over_federation }}
147+
allow_device_name_lookup_over_federation: {{ $.Values.synapse.allow_device_name_lookup_over_federation }}
148148
instance_map:
149149
main:
150150
host: synapse-master-0.synapse-master
@@ -255,7 +255,7 @@ data:
255255
use_presence: {{ $.Values.synapse.presence }}
256256
user_directory:
257257
enabled: true
258-
search_all_users: false
258+
search_all_users: {{ $.Values.synapse.search_all_users }}
259259
prefer_local_users: true
260260
web_client_location: "https://{{ $.Values.synapse.serverName }}/"
261261
{{- if $.Values.matrixAuthentication.enabled }}

charts/synapse/values.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
---
22
synapse:
33
serverName: NOT-CONFIGURED
4+
# cfg ++
5+
enable_3pid_changes: false
6+
allow_profile_lookup_over_federation: false
7+
allow_device_name_lookup_over_federation: false
8+
search_all_users: false
9+
# cfg --
410
image:
511
repository: "ghcr.io/code-tool/matrix-stack/synapse"
612
tag: "v1.105.1"
@@ -57,7 +63,7 @@ idp_metadata: []
5763

5864
registration_shared_secret: NOT-CONFIGURED
5965

60-
media_storage_providers: {}
66+
media_storage_providers: []
6167

6268
experimentalFeatures:
6369
msc3967:
@@ -358,7 +364,7 @@ turn_uris: []
358364

359365
signing_key: NOT-CONFIGURED
360366

361-
root_redirect_url: NOT-CONFIGURED
367+
root_redirect_url: ''
362368

363369
coturn:
364370
sharedSecret: ''

0 commit comments

Comments
 (0)