Skip to content

Commit

Permalink
Merge pull request #170 from mrueg/bump-deps
Browse files Browse the repository at this point in the history
Update dependencies for postgresql, mariadb, and redis
  • Loading branch information
tvories committed Dec 9, 2021
2 parents 8a28dcb + 44e0ca5 commit f11507f
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 17 deletions.
10 changes: 5 additions & 5 deletions charts/nextcloud/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 10.13.8
version: 10.13.11
- name: mariadb
repository: https://charts.bitnami.com/bitnami
version: 9.6.5
version: 9.8.1
- name: redis
repository: https://charts.bitnami.com/bitnami
version: 13.0.1
digest: sha256:58eca16807189c98f29b0fe8f7b9df1b4f19ac635e7b81be0f0d3a0a449b2691
generated: "2021-11-17T15:57:03.491610762+01:00"
version: 15.6.3
digest: sha256:e0f2669aa4200ded2847c3ae83325486678236ed05f55401ae3e72ee6aadf82b
generated: "2021-12-07T16:14:38.595361734+01:00"
6 changes: 3 additions & 3 deletions charts/nextcloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: nextcloud
version: 2.10.2
version: 2.11.0
appVersion: 22.2.3
description: A file sharing server that puts the control and security of your own data back into your hands.
keywords:
Expand All @@ -27,10 +27,10 @@ dependencies:
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
- name: mariadb
version: 9.6.*
version: 9.8.*
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled
- name: redis
version: 13.0.*
version: 15.6.*
repository: https://charts.bitnami.com/bitnami
condition: redis.enabled
4 changes: 2 additions & 2 deletions charts/nextcloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ The following table lists the configurable parameters of the nextcloud chart and
| `mariadb.auth.username` | Database user to create | `nextcloud` |
| `mariadb.auth.rootPassword` | 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 | `''` |
| `redis.auth.enabled` | Whether to enable password authentication with redis | `true` |
| `redis.auth.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
10 changes: 5 additions & 5 deletions charts/nextcloud/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,16 +164,16 @@ spec:
- name: REDIS_HOST
value: {{ template "nextcloud.redis.fullname" . }}-master
- name: REDIS_HOST_PORT
value: {{ .Values.redis.redisPort | quote }}
{{- if and .Values.redis.existingSecret .Values.redis.existingSecretPasswordKey }}
value: {{ .Values.redis.master.service.port | quote }}
{{- if and .Values.redis.auth.existingSecret .Values.redis.auth.existingSecretPasswordKey }}
- name: REDIS_HOST_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.redis.existingSecret }}
key: {{ .Values.redis.existingSecretPasswordKey }}
name: {{ .Values.redis.auth.existingSecret }}
key: {{ .Values.redis.auth.existingSecretPasswordKey }}
{{- else }}
- name: REDIS_HOST_PASSWORD
value: {{ .Values.redis.password }}
value: {{ .Values.redis.auth.password }}
{{- end }}
{{- end }}
{{- if .Values.nextcloud.extraEnv }}
Expand Down
10 changes: 8 additions & 2 deletions charts/nextcloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,16 @@ postgresql:
enabled: false
# storageClass: ""

##
## Redis chart configuration
## for more options see https://github.com/bitnami/charts/tree/master/bitnami/redis
##

redis:
enabled: false
usePassword: true
password: 'changeme'
auth:
enabled: true
password: 'changeme'

## 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 f11507f

Please sign in to comment.