Skip to content

Commit f1b59b6

Browse files
committed
docs: add warning about roleRules replacing default rules
Add clear warning in values.yaml that enabling roleRules completely replaces the default Role rules, requiring users to include all necessary permissions for proper controller operation. This addresses potential safety concerns where users might not realize they need to include essential permissions like secrets, configmaps, and applications access. Signed-off-by: puretension <rlrlfhtm5@gmail.com>
1 parent a93854f commit f1b59b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

charts/argo-cd/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,6 +1142,8 @@ controller:
11421142

11431143
## Enable this and set the rules: to whatever custom rules you want for the Role resource.
11441144
## Defaults to off
1145+
## WARNING: When enabled, this completely replaces the default Role rules.
1146+
## Ensure you include all necessary permissions for proper controller operation.
11451147
roleRules:
11461148
# -- Enable custom rules for the application controller's Role resource
11471149
enabled: false

0 commit comments

Comments
 (0)