matrix-synapse: Update dependencies

This commit is contained in:
Alexander "Ace" Olofsson 2022-12-20 18:47:24 +01:00
parent 1dcc852e1f
commit c7fc15e5b0
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
3 changed files with 31 additions and 20 deletions

View file

@ -6,17 +6,17 @@ icon: https://matrix.org/images/matrix-logo.svg
appVersion: 1.74.0 appVersion: 1.74.0
type: application type: application
version: 2.7.10 version: 3.0.0
maintainers: maintainers:
- name: Alexander Olofsson - name: Alexander Olofsson
email: ace@haxalot.com email: ace@haxalot.com
dependencies: dependencies:
- name: postgresql - name: postgresql
version: ^10.9.4 version: ^12.1.4
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled condition: postgresql.enabled
- name: redis - name: redis
version: ^16.1.0 version: ^17.3.17
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
condition: redis.enabled condition: redis.enabled

View file

@ -150,7 +150,10 @@ Set postgresql username
*/}} */}}
{{- define "matrix-synapse.postgresql.username" -}} {{- define "matrix-synapse.postgresql.username" -}}
{{- if .Values.postgresql.enabled -}} {{- if .Values.postgresql.enabled -}}
{{- .Values.postgresql.postgresqlUsername | default "postgres" }} {{- if (and (not .Values.postgresql.auth.username) (.Values.postgresql.postgresqlUsername)) -}}
{{- fail "You need to switch to the new postgresql.auth values." -}}
{{- end -}}
{{- .Values.postgresql.auth.username | default "postgres" }}
{{- else -}} {{- else -}}
{{ required "A valid externalPostgresql.username is required" .Values.externalPostgresql.username }} {{ required "A valid externalPostgresql.username is required" .Values.externalPostgresql.username }}
{{- end -}} {{- end -}}
@ -161,7 +164,10 @@ Set postgresql password
*/}} */}}
{{- define "matrix-synapse.postgresql.password" -}} {{- define "matrix-synapse.postgresql.password" -}}
{{- if .Values.postgresql.enabled -}} {{- if .Values.postgresql.enabled -}}
{{- .Values.postgresql.postgresqlPassword | default "" }} {{- if (and (not .Values.postgresql.auth.password) (.Values.postgresql.postgresqlPassword)) -}}
{{- fail "You need to switch to the new postgresql.auth values." -}}
{{- end -}}
{{- .Values.postgresql.auth.password | default "synapse" }}
{{- else if not (and .Values.externalPostgresql.existingSecret .Values.externalPostgresql.existingSecretPasswordKey) -}} {{- else if not (and .Values.externalPostgresql.existingSecret .Values.externalPostgresql.existingSecretPasswordKey) -}}
{{ required "A valid externalPostgresql.password is required" .Values.externalPostgresql.password }} {{ required "A valid externalPostgresql.password is required" .Values.externalPostgresql.password }}
{{- end -}} {{- end -}}
@ -172,7 +178,10 @@ Set postgresql database
*/}} */}}
{{- define "matrix-synapse.postgresql.database" -}} {{- define "matrix-synapse.postgresql.database" -}}
{{- if .Values.postgresql.enabled -}} {{- if .Values.postgresql.enabled -}}
{{- .Values.postgresql.postgresqlDatabase | default "synapse" }} {{- if (and (not .Values.postgresql.auth.database) (.Values.postgresql.postgresqlDatabase)) -}}
{{- fail "You need to switch to the new postgresql.auth values." -}}
{{- end -}}
{{- .Values.postgresql.auth.database | default "synapse" }}
{{- else -}} {{- else -}}
{{ required "A valid externalPostgresql.database is required" .Values.externalPostgresql.database }} {{ required "A valid externalPostgresql.database is required" .Values.externalPostgresql.database }}
{{- end -}} {{- end -}}

View file

@ -677,18 +677,21 @@ wellknown:
postgresql: postgresql:
enabled: true enabled: true
auth:
# XXX Change me! # XXX Change me!
postgresqlPassword: synapse # password: synapse
## Or use existing secret with "postgresql-password" key ## Or use existing secret with "postgresql-password" key
## instead of static password ## instead of static password
## ##
# existingSecret: postgresql-secret # existingSecret: postgresql-secret
postgresqlUsername: synapse # username: synapse
postgresqlDatabase: synapse # database: synapse
postgresqlInitdbArgs: "--lc-collate=C --lc-ctype=C" primary:
initdb:
args: "--lc-collate=C --lc-ctype=C"
persistence: persistence:
# storageClass: "-" # storageClass: "-"
@ -741,6 +744,7 @@ redis:
architecture: standalone architecture: standalone
master: master:
kind: Deployment
persistence: persistence:
## Note that Synapse only uses redis as a synchronization utility, so no ## Note that Synapse only uses redis as a synchronization utility, so no
## data will ever need to be persisted. ## data will ever need to be persisted.
@ -748,8 +752,6 @@ redis:
enabled: false enabled: false
service: service:
port: 6379 port: 6379
statefulset:
updateStrategy: RollingUpdate
## An externally configured Redis server to use for workers/sharding. ## An externally configured Redis server to use for workers/sharding.
## ##