mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Merge pull request #59899 from mikedanese/authz
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. apiserver: fix some typos from refactor introduced in #59582 ```release-note NONE ```
This commit is contained in:
commit
d3dc4584f9
@ -85,16 +85,13 @@ type Config struct {
|
|||||||
// Authentication is the configuration for authentication
|
// Authentication is the configuration for authentication
|
||||||
Authentication AuthenticationInfo
|
Authentication AuthenticationInfo
|
||||||
|
|
||||||
// Authentication is the configuration for authentication
|
// Authorization is the configuration for authorization
|
||||||
Authorization AuthorizationInfo
|
Authorization AuthorizationInfo
|
||||||
|
|
||||||
// LoopbackClientConfig is a config for a privileged loopback connection to the API server
|
// LoopbackClientConfig is a config for a privileged loopback connection to the API server
|
||||||
// This is required for proper functioning of the PostStartHooks on a GenericAPIServer
|
// This is required for proper functioning of the PostStartHooks on a GenericAPIServer
|
||||||
// TODO: move into SecureServing(WithLoopback) as soon as insecure serving is gone
|
// TODO: move into SecureServing(WithLoopback) as soon as insecure serving is gone
|
||||||
LoopbackClientConfig *restclient.Config
|
LoopbackClientConfig *restclient.Config
|
||||||
// Authorizer determines whether the subject is allowed to make the request based only
|
|
||||||
// on the RequestURI
|
|
||||||
Authorizer authorizer.Authorizer
|
|
||||||
// RuleResolver is required to get the list of rules that apply to a given user
|
// RuleResolver is required to get the list of rules that apply to a given user
|
||||||
// in a given namespace
|
// in a given namespace
|
||||||
RuleResolver authorizer.RuleResolver
|
RuleResolver authorizer.RuleResolver
|
||||||
|
Loading…
Reference in New Issue
Block a user