join client CA bundles into the accept path for genericapiserver

This commit is contained in:
deads2k 2016-12-05 15:30:13 -05:00
parent 2d8ab875b2
commit f96d4775dc
1 changed files with 3 additions and 1 deletions

View File

@ -106,7 +106,9 @@ func (serverOptions *ServerRunOptions) Run(stopCh <-chan struct{}) error {
if _, err := config.ApplySecureServingOptions(serverOptions.SecureServing); err != nil { if _, err := config.ApplySecureServingOptions(serverOptions.SecureServing); err != nil {
return fmt.Errorf("failed to configure https: %s", err) 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() config.Authorizer = authorizer.NewAlwaysAllowAuthorizer()
s, err := config.Complete().New() s, err := config.Complete().New()