-
Notifications
You must be signed in to change notification settings - Fork 452
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
Failed to watch *v1.ReplicaSet and Failed to list *v1.ReplicaSet #2823
Comments
@iblancasa I believe you did most of the work getting this feature added? |
me too
|
Are you enabling the creation of the RBAC resources from the operator + giving the operator the permission to create RBAC resources? |
Yes.
This error is thrown and appears to be the final permission needed to be granted to the OTEL collector by the operator.
…On Mon, Apr 8, 2024, at 3:18 AM, Israel Blancas wrote:
Are you enabling the creation of the RBAC resources from the operator + giving the operator the permission to create RBAC resources?
—
Reply to this email directly, view it on GitHub <#2823 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAYDZ4SDPVU2V6YZDC3636DY4JVF5AVCNFSM6AAAAABFZ3YWFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBSGM3TMOBZHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@thefirstofthe300 Can you share more info?
|
@iblancasa The above config I provided should be enough to replicate the issue in your own environment AFAICT. The issue only appears if the k8s_attribute processor has no explicit configuration defined. One thing to note is that this appears to be expected behavior. The OTEL collector helm chart adds The RBAC created by the operator is
|
It seems the documentation from the k8sattributesprocessor is wrong:
Created an issue in the contrib repo: open-telemetry/opentelemetry-collector-contrib#32247 |
Component(s)
No response
What happened?
Description
Given the OpenTelemetryCollector configuration:
The otelcol throws the error:
over and over again.
Steps to Reproduce
Deploy the above provided configuration
Expected Result
No errors
Actual Result
Errors due to missing rbac permissions
Kubernetes Version
1.28.3
Operator version
0.97.1
Collector version
0.97.0
Environment information
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: