From b8969440b7ee1fb38dc04302f34956efb5cf5e57 Mon Sep 17 00:00:00 2001 From: WrenIX Date: Sat, 18 Jan 2025 14:56:55 +0100 Subject: [PATCH] fix(matrix-synapse): redis to persistence --- matrix-synapse/Chart.yaml | 2 +- matrix-synapse/README.md | 12 ++++++++---- matrix-synapse/values.yaml | 24 +++++++++++++----------- 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/matrix-synapse/Chart.yaml b/matrix-synapse/Chart.yaml index bc640ab..bffccdb 100644 --- a/matrix-synapse/Chart.yaml +++ b/matrix-synapse/Chart.yaml @@ -4,7 +4,7 @@ name: matrix-synapse description: Matrix reference homeserver icon: https://matrix.org/images/matrix-logo.svg type: application -version: "1.0.10" +version: "1.0.11" # renovate: image=ghcr.io/element-hq/synapse appVersion: 1.122.0 maintainers: diff --git a/matrix-synapse/README.md b/matrix-synapse/README.md index 16517fb..fc5347e 100644 --- a/matrix-synapse/README.md +++ b/matrix-synapse/README.md @@ -7,7 +7,7 @@ description: "Matrix reference homeserver" # 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 @@ -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. | | redis.architecture | string | `"standalone"` | | | 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.master.kind | string | `"Deployment"` | | -| redis.master.persistence.enabled | bool | `false` | | +| redis.global.storageClass | string | `""` | | +| redis.master.persistence.enabled | bool | `true` | | | 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. | | service.port | int | `8008` | | | service.targetPort | string | `"http"` | | diff --git a/matrix-synapse/values.yaml b/matrix-synapse/values.yaml index aaa0837..1343b15 100644 --- a/matrix-synapse/values.yaml +++ b/matrix-synapse/values.yaml @@ -721,25 +721,27 @@ redis: auth: enabled: true - # XXX Change me! + # -- XXX Change me! 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 - ## instead of static password - ## - # existingSecret: redis-secret + # -- Or use existing secret with "redis-password" key instead of static password + existingSecret: architecture: standalone + global: + storageClass: "" master: - kind: Deployment persistence: - ## Note that Synapse only uses redis as a synchronization utility, so no - ## data will ever need to be persisted. - ## - enabled: false + enabled: true service: port: 6379 - + replica: + persistence: + enabled: true ## An externally configured Redis server to use for workers/sharding. ## externalRedis: