From 2192ce8c092e081eaab97621d622778e067ff16a Mon Sep 17 00:00:00 2001 From: FreekO Date: Mon, 22 Jul 2024 12:13:00 +0200 Subject: [PATCH] Add: Redis persistent volumes settings to values (#549) * Add: Redis persistent volumes settings to values Signed-off-by: FreekO * Bump chart version Signed-off-by: FreekO --------- Signed-off-by: FreekO Signed-off-by: JesseBot Co-authored-by: JesseBot --- charts/nextcloud/Chart.yaml | 2 +- charts/nextcloud/README.md | 3 +++ charts/nextcloud/values.yaml | 9 +++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index a4e1c078..dae94e71 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 5.2.0 +version: 5.2.1 appVersion: 29.0.3 description: A file sharing server that puts the control and security of your own data back into your hands. keywords: diff --git a/charts/nextcloud/README.md b/charts/nextcloud/README.md index 40550fc6..5309f4a9 100644 --- a/charts/nextcloud/README.md +++ b/charts/nextcloud/README.md @@ -155,6 +155,9 @@ The following table lists the configurable parameters of the nextcloud chart and | `redis.auth.password` | The password redis uses | `''` | | `redis.auth.existingSecret` | The name of an existing secret with RedisĀ® credentials | `''` | | `redis.auth.existingSecretPasswordKey` | Password key to be retrieved from existing secret | `''` | +| `redis.global.storageClass` | PVC Storage Class for both Redis® master and replica Persistent Volumes | `''` | +| `redis.master.persistence.enabled` | Enable persistence on Redis® master nodes using Persistent Volume Claims | `true` | +| `redis.replica.persistence.enabled` | Enable persistence on Redis® replica nodes using Persistent Volume Claims | `true` | | `cronjob.enabled` | Whether to enable/disable cron jobs sidecar | `false` | | `cronjob.lifecycle.postStartCommand` | Specify deployment lifecycle hook postStartCommand for the cron jobs sidecar | `nil` | | `cronjob.lifecycle.preStopCommand` | Specify deployment lifecycle hook preStopCommand for the cron jobs sidecar | `nil` | diff --git a/charts/nextcloud/values.yaml b/charts/nextcloud/values.yaml index fc3f18e5..2e5d8df4 100644 --- a/charts/nextcloud/values.yaml +++ b/charts/nextcloud/values.yaml @@ -371,6 +371,15 @@ redis: existingSecret: "" # Password key to be retrieved from existing secret existingSecretPasswordKey: "" + # Since Redis is used for caching only, you might want to use a storageClass with different reclaim policy and backup settings + global: + storageClass: "" + master: + persistence: + enabled: true + replica: + persistence: + enabled: true ## Cronjob to execute Nextcloud background tasks