Adding a discovery summarizer server
This commit is contained in:
parent
2c8508c44a
commit
fc7b306337
|
@ -37,7 +37,6 @@ const (
|
||||||
// Ports on which to run the server.
|
// 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.
|
// Explicitly setting these to a different value than the default values, to prevent this from clashing with a local cluster.
|
||||||
InsecurePort = 8081
|
InsecurePort = 8081
|
||||||
SecurePort = 6444
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func newStorageFactory() genericapiserver.StorageFactory {
|
func newStorageFactory() genericapiserver.StorageFactory {
|
||||||
|
@ -53,7 +52,6 @@ func newStorageFactory() genericapiserver.StorageFactory {
|
||||||
func NewServerRunOptions() *genericapiserver.ServerRunOptions {
|
func NewServerRunOptions() *genericapiserver.ServerRunOptions {
|
||||||
serverOptions := genericapiserver.NewServerRunOptions()
|
serverOptions := genericapiserver.NewServerRunOptions()
|
||||||
serverOptions.InsecurePort = InsecurePort
|
serverOptions.InsecurePort = InsecurePort
|
||||||
serverOptions.SecurePort = SecurePort
|
|
||||||
return serverOptions
|
return serverOptions
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue