Skip to content

Commit

Permalink
Don't set redis pw when redis auth is disabled
Browse files Browse the repository at this point in the history
This allows for the usage of the default redis.config.php when disabling
Redis authentication.

Signed-off-by: mjdazz <[email protected]>
  • Loading branch information
mjdazz committed Oct 17, 2023
1 parent 2abc3dd commit 7efae2c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 4.3.4
version: 4.3.5
appVersion: 27.1.2
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/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ data:
'redis' => array(
'host' => getenv('REDIS_HOST'),
'port' => getenv('REDIS_HOST_PORT') ?: 6379,
{{- if .Values.redis.auth.enabled }}
'password' => getenv('REDIS_HOST_PASSWORD'),
{{- end }}
),
);
}
Expand Down

0 comments on commit 7efae2c

Please sign in to comment.