Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Israel Blancas <iblancas@redhat.com>
  • Loading branch information
iblancasa committed Nov 12, 2024
1 parent 6bf7d73 commit 66d3b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/components/receivers/k8sobjects.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type k8sObject struct {
}

func generatek8sobjectsRbacRules(_ logr.Logger, config k8sobjectsConfig) ([]rbacv1.PolicyRule, error) {
// The k8s Objects Receiver needs get permissions on the following resources always.
// https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/k8sobjectsreceiver#rbac
prs := []rbacv1.PolicyRule{}
for _, obj := range config.Objects {
permissions := []string{"list"}
Expand Down

0 comments on commit 66d3b52

Please sign in to comment.