Skip to content

Commit 567edfe

Browse files
authored
Merge pull request #37387 from sergeyshevch/feat/34816/add-caution-about-rules-field-override
feat: Add caution note about rules field override
2 parents 4dfacee + 35c3321 commit 567edfe

File tree

1 file changed

+6
-0
lines changed
  • content/en/docs/reference/access-authn-authz

1 file changed

+6
-0
lines changed

content/en/docs/reference/access-authn-authz/rbac.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,12 @@ objects with an `aggregationRule` set. The `aggregationRule` defines a label
317317
uses to match other ClusterRole objects that should be combined into the `rules`
318318
field of this one.
319319

320+
{{< caution >}}
321+
The control plane overwrites any values that you manually specify in the `rules` field of an
322+
aggregate ClusterRole. If you want to change or add rules, do so in the `ClusterRole` objects
323+
that are selected by the `aggregationRule`.
324+
{{< /caution >}}
325+
320326
Here is an example aggregated ClusterRole:
321327

322328
```yaml

0 commit comments

Comments
 (0)