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 {
|
func NewServerRunOptions() *genericoptions.ServerRunOptions {
|
||||||
serverOptions := genericoptions.NewServerRunOptions().WithEtcdOptions()
|
serverOptions := genericoptions.NewServerRunOptions().WithEtcdOptions().WithSecureServingOptions()
|
||||||
serverOptions.InsecurePort = InsecurePort
|
serverOptions.InsecurePort = InsecurePort
|
||||||
return serverOptions
|
return serverOptions
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue