mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 20:50:24 +00:00
join client CA bundles into the accept path for genericapiserver
This commit is contained in:
@@ -106,7 +106,9 @@ func (serverOptions *ServerRunOptions) Run(stopCh <-chan struct{}) error {
|
||||
if _, err := config.ApplySecureServingOptions(serverOptions.SecureServing); err != nil {
|
||||
return fmt.Errorf("failed to configure https: %s", err)
|
||||
}
|
||||
config.ApplyAuthenticationOptions(serverOptions.Authentication)
|
||||
if _, err := config.ApplyAuthenticationOptions(serverOptions.Authentication); err != nil {
|
||||
return fmt.Errorf("failed to configure authentication: %s", err)
|
||||
}
|
||||
|
||||
config.Authorizer = authorizer.NewAlwaysAllowAuthorizer()
|
||||
s, err := config.Complete().New()
|
||||
|
Reference in New Issue
Block a user