-
Notifications
You must be signed in to change notification settings - Fork 460
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
Inject K8S_NODE_NAME environment variable when using the kubeletstats receiver #3389
Conversation
iblancasa
commented
Oct 24, 2024
- Resolves: Inject the K8S_NODE_NAME environment variable when using the kubeletstatsreceiver and serviceAccount authentication #2779
Signed-off-by: Israel Blancas <iblancas@redhat.com>
… receiver Signed-off-by: Israel Blancas <iblancas@redhat.com>
… receiver Signed-off-by: Israel Blancas <iblancas@redhat.com>
Signed-off-by: Israel Blancas <iblancas@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add some simple unit tests for the functions you've added? It would also be good to check that the variable exists in the kubeletstatsreceiver e2e test here: https://github.com/open-telemetry/opentelemetry-operator/tree/main/tests/e2e-automatic-rbac/receiver-kubeletstats.
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Done! @swiatekm @jaronoff97 |
Signed-off-by: Israel Blancas <iblancas@redhat.com>
looks like some unit tests failures. |
Flaky unit tests in target allocator service discovery again: |