Skip to content

Commit 59aca5b

Browse files
Disable ACL by default in DragonflyDB instance Helm chart (#2)
* Disable ACL by default in DragonflyDB instance Helm chart * Enhance ACL configuration documentation in DragonflyDB Helm chart
1 parent 415a58a commit 59aca5b

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

charts/dragonflydb-instance/README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ dragonflydb-instance Helm chart
1515

1616
| Key | Type | Default | Description |
1717
|-----|------|---------|-------------|
18-
| acl | object | `{"enabled":true,"existingSecret":"","key":"","optional":false,"rules":""}` | Access Control List (ACL) configuration |
19-
| acl.enabled | bool | `true` | Enable ACL |
18+
| acl | object | `{"enabled":false,"existingSecret":"","key":"","optional":false,"rules":""}` | Access Control List (ACL) configuration |
19+
| acl.enabled | bool | `false` | Enable ACL Note: When ACL is enabled, you must provide ACL rules either through 'rules' or 'existingSecret'. DragonflyDB will not start properly if ACL is enabled but no rules are provided. |
20+
| acl.existingSecret | string | `""` | Name of existing secret containing the ACL rules If empty, a new secret will be created |
21+
| acl.key | string | `""` | The key to use for the ACL rules in the secret |
22+
| acl.optional | bool | `false` | If true, the ACL rules will be optional |
2023
| acl.rules | string | `""` | The ACL rules to apply to the database if existingSecret is empty @see https://www.dragonflydb.io/docs/managing-dragonfly/acl Example: rules: | user user on >pass ~* &* +@string +@fast -@slow +set user rouser on >ropass ~* &* +@read |
2124
| affinity | object | `{}` | Affinity rules for pod assignment @see https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity |
2225
| args | list | `[]` | DragonflyDB configuration flags @see https://www.dragonflydb.io/docs/managing-dragonfly/flags |

charts/dragonflydb-instance/values.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,15 @@ pdb:
114114
# -- Access Control List (ACL) configuration
115115
acl:
116116
# -- Enable ACL
117-
enabled: true
117+
# Note: When ACL is enabled, you must provide ACL rules either through 'rules' or 'existingSecret'.
118+
# DragonflyDB will not start properly if ACL is enabled but no rules are provided.
119+
enabled: false
120+
# -- Name of existing secret containing the ACL rules
118121
# If empty, a new secret will be created
119122
existingSecret: ""
120-
# If true, the ACL rules will be optional
123+
# -- If true, the ACL rules will be optional
121124
optional: false
122-
# The key to use for the ACL rules in the secret
125+
# -- The key to use for the ACL rules in the secret
123126
key: ""
124127
# -- The ACL rules to apply to the database if existingSecret is empty
125128
# @see https://www.dragonflydb.io/docs/managing-dragonfly/acl

0 commit comments

Comments
 (0)