mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 22:20:18 +00:00
split insecure serving options
This commit is contained in:
@@ -56,8 +56,8 @@ func newStorageFactory() genericapiserver.StorageFactory {
|
||||
}
|
||||
|
||||
func NewServerRunOptions() *genericoptions.ServerRunOptions {
|
||||
serverOptions := genericoptions.NewServerRunOptions().WithEtcdOptions().WithSecureServingOptions()
|
||||
serverOptions.InsecurePort = InsecurePort
|
||||
serverOptions := genericoptions.NewServerRunOptions().WithEtcdOptions().WithSecureServingOptions().WithInsecureServingOptions()
|
||||
serverOptions.InsecureServing.BindPort = InsecurePort
|
||||
return serverOptions
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user