Skip to content

Commit 5bc051b

Browse files
committed
fix: add missing rbac rule for collector sa
Since the version bump the following error emerged: `KubeAPIWarningLogger RBAC rules are missing: missing the following rules for system:serviceaccount:collector:example-sa - nodes: [get,watch,list]` Signed-off-by: Bence Csati <[email protected]>
1 parent 68d8ecd commit 5bc051b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/telemetry/collector_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ func (r *CollectorReconciler) reconcileClusterRole(ctx context.Context, collecto
507507
{
508508
Verbs: []string{"get", "watch", "list"},
509509
APIGroups: []string{""},
510-
Resources: []string{"pods", "namespaces"},
510+
Resources: []string{"pods", "namespaces", "nodes"},
511511
},
512512
{
513513
Verbs: []string{"get", "watch", "list"},

0 commit comments

Comments
 (0)