diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index a7230639..f09387b5 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 2.3.2 +version: 2.3.3 appVersion: 19.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 6520e833..d479a038 100644 --- a/charts/nextcloud/README.md +++ b/charts/nextcloud/README.md @@ -114,6 +114,8 @@ The following table lists the configurable parameters of the nextcloud chart and | `mariadb.db.user` | Database user to create | `nextcloud` | | `mariadb.rootUser.password` | MariaDB admin password | `nil` | | `redis.enabled` | Whether to install/use redis for locking | `false` | +| `redis.usePassword` | Whether to use a password with redis | `false` | +| `redis.password` | The password redis uses | `''` | | `cronjob.enabled` | Whether to enable/disable cronjob | `false` | | `cronjob.schedule` | Schedule for the CronJob | `*/15 * * * *` | | `cronjob.annotations` | Annotations to add to the cronjob | {} | diff --git a/charts/nextcloud/templates/deployment.yaml b/charts/nextcloud/templates/deployment.yaml index fad0d7a3..65b646bf 100644 --- a/charts/nextcloud/templates/deployment.yaml +++ b/charts/nextcloud/templates/deployment.yaml @@ -163,6 +163,8 @@ spec: value: {{ template "nextcloud.redis.fullname" . }}-master - name: REDIS_HOST_PORT value: {{ .Values.redis.redisPort | quote }} + - name: REDIS_HOST_PASSWORD + value: {{ .Values.redis.password }} {{- end }} {{- if .Values.nextcloud.extraEnv }} {{ toYaml .Values.nextcloud.extraEnv | indent 8 }} diff --git a/charts/nextcloud/values.yaml b/charts/nextcloud/values.yaml index 546238ca..73a2d3c8 100644 --- a/charts/nextcloud/values.yaml +++ b/charts/nextcloud/values.yaml @@ -243,6 +243,7 @@ postgresql: redis: enabled: false usePassword: false + password: '' ## Cronjob to execute Nextcloud background tasks ## ref: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#webcron