apiserver: split core API creation from secure serving

This commit is contained in:
Dr. Stefan Schimanski
2017-09-07 09:39:31 +02:00
parent ca3f745346
commit 2b64d3a0fd
9 changed files with 99 additions and 31 deletions

View File

@@ -105,7 +105,6 @@ func NonBlockingRun(s *options.ServerRunOptions, stopCh <-chan struct{}) error {
if err := s.CloudProvider.DefaultExternalHost(s.GenericServerRunOptions); err != nil {
return fmt.Errorf("error setting the external host value: %v", err)
}
s.SecureServing.ForceLoopbackConfigUsage()
s.Authentication.ApplyAuthorization(s.Authorization)