fix(matrix-synapse): redis to persistence

This commit is contained in:
WrenIX 2025-01-18 14:56:55 +01:00
parent ff40a7f712
commit b8969440b7
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
3 changed files with 22 additions and 16 deletions

View file

@ -4,7 +4,7 @@ name: matrix-synapse
description: Matrix reference homeserver description: Matrix reference homeserver
icon: https://matrix.org/images/matrix-logo.svg icon: https://matrix.org/images/matrix-logo.svg
type: application type: application
version: "1.0.10" version: "1.0.11"
# renovate: image=ghcr.io/element-hq/synapse # renovate: image=ghcr.io/element-hq/synapse
appVersion: 1.122.0 appVersion: 1.122.0
maintainers: maintainers:

View file

@ -7,7 +7,7 @@ description: "Matrix reference homeserver"
# matrix-synapse # matrix-synapse
![Version: 1.0.10](https://img.shields.io/badge/Version-1.0.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.122.0](https://img.shields.io/badge/AppVersion-1.122.0-informational?style=flat-square) ![Version: 1.0.11](https://img.shields.io/badge/Version-1.0.11-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.122.0](https://img.shields.io/badge/AppVersion-1.122.0-informational?style=flat-square)
Matrix reference homeserver Matrix reference homeserver
@ -111,11 +111,15 @@ helm uninstall matrix-synapse-release
| publicServerName | string | `nil` | The public Matrix server name, this will be used for any public URLs in config as well as for client API links in the ingress. | | publicServerName | string | `nil` | The public Matrix server name, this will be used for any public URLs in config as well as for client API links in the ingress. |
| redis.architecture | string | `"standalone"` | | | redis.architecture | string | `"standalone"` | |
| redis.auth.enabled | bool | `true` | | | redis.auth.enabled | bool | `true` | |
| redis.auth.password | string | `"synapse"` | | | redis.auth.existingSecret | string | `nil` | Or use existing secret with "redis-password" key instead of static password |
| redis.auth.existingSecret | string | `""` | name of an existing secret with Redis credentials (instead of auth.password), must be created ahead of time |
| redis.auth.existingSecretPasswordKey | string | `""` | Password key to be retrieved from existing secret |
| redis.auth.password | string | `"synapse"` | XXX Change me! |
| redis.enabled | bool | `true` | | | redis.enabled | bool | `true` | |
| redis.master.kind | string | `"Deployment"` | | | redis.global.storageClass | string | `""` | |
| redis.master.persistence.enabled | bool | `false` | | | redis.master.persistence.enabled | bool | `true` | |
| redis.master.service.port | int | `6379` | | | redis.master.service.port | int | `6379` | |
| redis.replica.persistence.enabled | bool | `true` | |
| serverName | string | `nil` | The Matrix domain name, this is what will be used for the domain part in your MXIDs. | | serverName | string | `nil` | The Matrix domain name, this is what will be used for the domain part in your MXIDs. |
| service.port | int | `8008` | | | service.port | int | `8008` | |
| service.targetPort | string | `"http"` | | | service.targetPort | string | `"http"` | |

View file

@ -721,25 +721,27 @@ redis:
auth: auth:
enabled: true enabled: true
# XXX Change me! # -- XXX Change me!
password: synapse password: synapse
# -- name of an existing secret with Redis credentials (instead of auth.password), must be created ahead of time
existingSecret: ""
# -- Password key to be retrieved from existing secret
existingSecretPasswordKey: ""
## Or use existing secret with "redis-password" key # -- Or use existing secret with "redis-password" key instead of static password
## instead of static password existingSecret:
##
# existingSecret: redis-secret
architecture: standalone architecture: standalone
global:
storageClass: ""
master: master:
kind: Deployment
persistence: persistence:
## Note that Synapse only uses redis as a synchronization utility, so no enabled: true
## data will ever need to be persisted.
##
enabled: false
service: service:
port: 6379 port: 6379
replica:
persistence:
enabled: true
## An externally configured Redis server to use for workers/sharding. ## An externally configured Redis server to use for workers/sharding.
## ##
externalRedis: externalRedis: