mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 05:30:26 +00:00
Adding a discovery summarizer server
This commit is contained in:
@@ -37,7 +37,6 @@ const (
|
||||
// Ports on which to run the server.
|
||||
// Explicitly setting these to a different value than the default values, to prevent this from clashing with a local cluster.
|
||||
InsecurePort = 8081
|
||||
SecurePort = 6444
|
||||
)
|
||||
|
||||
func newStorageFactory() genericapiserver.StorageFactory {
|
||||
@@ -53,7 +52,6 @@ func newStorageFactory() genericapiserver.StorageFactory {
|
||||
func NewServerRunOptions() *genericapiserver.ServerRunOptions {
|
||||
serverOptions := genericapiserver.NewServerRunOptions()
|
||||
serverOptions.InsecurePort = InsecurePort
|
||||
serverOptions.SecurePort = SecurePort
|
||||
return serverOptions
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user