-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
expose kubelet authentication and authorization builders #45238
expose kubelet authentication and authorization builders #45238
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: deads2k Assign the PR to them by writing
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
cmd/kubelet/app/auth.go
Outdated
@@ -34,7 +34,7 @@ import ( | |||
"k8s.io/kubernetes/pkg/kubelet/server" | |||
) | |||
|
|||
func buildAuth(nodeName types.NodeName, client clientset.Interface, config componentconfig.KubeletConfiguration) (server.AuthInterface, error) { | |||
func BuildAuth(nodeName types.NodeName, client clientset.Interface, config componentconfig.KubeletConfiguration) (server.AuthInterface, error) { |
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.
It's a public function now, so, do we need to add some comments?
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.
done
doc, then LGTM |
8f5b5ca
to
62dce5c
Compare
62dce5c
to
0022223
Compare
Automatic merge from submit-queue (batch tested with PRs 45362, 45159, 45321, 45238) |
The kubelet authentication and authorization builder methods are useful for consumers.
@liggitt