Skip to content

OpenTelemetry Operator doesn't have permissions to create RBAC roles for k8s receivers such as kubeletstats #3860

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
johnmckenna opened this issue Mar 31, 2025 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@johnmckenna
Copy link

Component(s)

No response

What happened?

Description

The OTel Operator cannot create an RBAC cluster role for kubeletstats for example

Steps to Reproduce

enable kubeletstats as a receiver:

receivers:
kubeletstats:
auth_type: serviceAccount

Expected Result

Cluster role gets created

Actual Result

Image

Kubernetes Version

1.29.6

Operator version

0.120.0

Collector version

0.122.1

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")

Log output

Additional context

No response

@johnmckenna johnmckenna added bug Something isn't working needs triage labels Mar 31, 2025
@iblancasa
Copy link
Contributor

This is not a bug. It is made on purpose for security reasons. You can provide the Service Account that is used to run the operator with permission to create the RBAC resources .

@iblancasa iblancasa added documentation Improvements or additions to documentation and removed bug Something isn't working needs triage labels Mar 31, 2025
@iblancasa
Copy link
Contributor

We should maybe improve the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants