matrix-synapse: Cleanups to ease deployment

This commit is contained in:
Alexander Olofsson 2020-08-10 11:13:02 +02:00
parent db2c3cb70b
commit 08226b1db9
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
3 changed files with 9 additions and 2 deletions

View file

@ -62,7 +62,7 @@ stringData:
redis:
enabled: true
host: {{ $redisHost | quote }}
{{- if or .Values.redis.password .Values.externalRedis.password }}
{{- if or .Values.redis.usePassword .Values.redis.password .Values.externalRedis.password }}
{{- if $redisPass }}
password: {{ $redisPass | quote }}
{{- else }}

View file

@ -10,6 +10,7 @@ metadata:
component: well-known
data:
lighttpd.conf: |
server.port = 8080
server.modules = (
"mod_rewrite",
"mod_status",
@ -79,7 +80,7 @@ spec:
securityContext:
{{- toYaml .Values.wellknown.securityContext | nindent 12 }}
ports:
- containerPort: 80
- containerPort: 8080
name: http
protocol: TCP
readinessProbe:
@ -96,12 +97,16 @@ spec:
- mountPath: {{ .Values.wellknown.htdocsPath }}/server.json
name: files
subPath: server.json
- mountPath: /run
name: run
resources:
{{- toYaml .Values.wellknown.resources | nindent 12 }}
volumes:
- name: files
configMap:
name: {{ $wkName }}
- name: run
emptyDir: {}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}

View file

@ -80,6 +80,8 @@ config:
# enableRegistration: false
## Note; this value will default to a random string if not specified.
# registrationSharedSecret: ''
## Note; Strongly recommended to set this to a secure value.
# macaroonSecretKey: ''
# allowGuests: false
## Should the Synapse instance report stats.