matrix-synapse: Update dependencies
This commit is contained in:
parent
1dcc852e1f
commit
c7fc15e5b0
3 changed files with 31 additions and 20 deletions
|
@ -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
|
||||||
|
|
|
@ -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 -}}
|
||||||
|
|
|
@ -677,22 +677,25 @@ wellknown:
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
# XXX Change me!
|
auth:
|
||||||
postgresqlPassword: synapse
|
# XXX Change me!
|
||||||
|
# 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: "-"
|
||||||
size: 16Gi
|
size: 16Gi
|
||||||
|
|
||||||
## Extra arguments for the database connection
|
## Extra arguments for the database connection
|
||||||
## ref: https://github.com/matrix-org/synapse/blob/develop/docs/postgres.md#synapse-config
|
## ref: https://github.com/matrix-org/synapse/blob/develop/docs/postgres.md#synapse-config
|
||||||
|
@ -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.
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in a new issue