split secure serving options
This commit is contained in:
parent
82f9b6b0f5
commit
4811083bc8
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue