Use fine-grained permissions for kubeletstats receiver#2083
Draft
dashpole wants to merge 1 commit intoopen-telemetry:mainfrom
Draft
Use fine-grained permissions for kubeletstats receiver#2083dashpole wants to merge 1 commit intoopen-telemetry:mainfrom
dashpole wants to merge 1 commit intoopen-telemetry:mainfrom
Conversation
jaronoff97
reviewed
Feb 18, 2026
Author
|
fixed |
Member
|
@dashpole does this need to wait for any operator/collector releases or is |
Author
|
@TylerHelmuth This also needs to somehow switch on the k8s version if we want it to work on k8s clusters less than 1.33. Is there a way to do that in this repo? |
Member
|
@dashpole you should be able to use some of the built-in objects to check the k8s version or if the specific api capability exists: https://helm.sh/docs/chart_template_guide/builtin_objects/ |
Author
|
Notes from the operator SIG meeting:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #2056
Collector PR: open-telemetry/opentelemetry-collector-contrib#46187
Operator PR: open-telemetry/opentelemetry-operator#4712
Documentation for kubelet subresource access: https://kubernetes.io/docs/reference/access-authn-authz/kubelet-authn-authz/#fine-grained-authorization
This will work for 1.33+ clusters.