Skip to content

Commit 2eb50e5

Browse files
committed
Docs: Crds - add monitor all in api group example
1 parent d383f83 commit 2eb50e5

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

docs/setup-robusta/crds.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ This will output something like:
5252
Basic Configuration
5353
^^^^^^^^^^^^^^^^^^^
5454

55-
Specify read permissions for the CRDs you need to monitor:
55+
Specify read permissions for the CRDs you need to monitor. You can list specific resources or use ``"*"`` to monitor all resources in an API group:
5656

5757
.. code-block:: yaml
5858
@@ -69,6 +69,20 @@ Specify read permissions for the CRDs you need to monitor:
6969
- "list"
7070
- "get"
7171
72+
Or to monitor all resources in an API group:
73+
74+
.. code-block:: yaml
75+
76+
runner:
77+
customClusterRoleRules:
78+
- apiGroups:
79+
- "cert-manager.io"
80+
resources:
81+
- "*"
82+
verbs:
83+
- "list"
84+
- "get"
85+
7286
Applying the Configuration
7387
^^^^^^^^^^^^^^^^^^^^^^^^^^^
7488

0 commit comments

Comments
 (0)