split secure serving options

This commit is contained in:
deads2k 2016-11-09 10:42:58 -05:00
parent 82f9b6b0f5
commit 4811083bc8
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func newStorageFactory() genericapiserver.StorageFactory {
}
func NewServerRunOptions() *genericoptions.ServerRunOptions {
serverOptions := genericoptions.NewServerRunOptions().WithEtcdOptions()
serverOptions := genericoptions.NewServerRunOptions().WithEtcdOptions().WithSecureServingOptions()
serverOptions.InsecurePort = InsecurePort
return serverOptions
}