Skip to content

Commit

Permalink
Set redis default password and ENV REDIS_HOST_PASSWORD (#54)
Browse files Browse the repository at this point in the history
* fix helm stable repo (#40)

This is related to https://helm.sh/blog/new-location-stable-incubator-charts/

Signed-off-by: Jeff Billimek <[email protected]>
Signed-off-by: Taylor <[email protected]>

* Adding redis password to env vars

Signed-off-by: Taylor <[email protected]>

* bumped chart version

Signed-off-by: Taylor <[email protected]>

* Updated Readme with redis password changes

Signed-off-by: Taylor <[email protected]>

Co-authored-by: Jeff Billimek <[email protected]>
  • Loading branch information
tvories and billimek authored Dec 28, 2020
1 parent 9ce989e commit 33dcd42
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/nextcloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 2 additions & 0 deletions charts/nextcloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | {} |
Expand Down
2 changes: 2 additions & 0 deletions charts/nextcloud/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions charts/nextcloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 33dcd42

Please sign in to comment.