Browse code

UPSTREAM: Disable UIs for Kubernetes and etcd

Clayton Coleman authored on 2014/12/24 13:26:58
Showing 1 changed files
... ...
@@ -67,7 +67,7 @@ import (
67 67
 	etcdipallocator "github.com/GoogleCloudPlatform/kubernetes/pkg/registry/service/ipallocator/etcd"
68 68
 	serviceaccountetcd "github.com/GoogleCloudPlatform/kubernetes/pkg/registry/serviceaccount/etcd"
69 69
 	"github.com/GoogleCloudPlatform/kubernetes/pkg/tools"
70
-	"github.com/GoogleCloudPlatform/kubernetes/pkg/ui"
70
+	//"github.com/GoogleCloudPlatform/kubernetes/pkg/ui"
71 71
 	"github.com/GoogleCloudPlatform/kubernetes/pkg/util"
72 72
 
73 73
 	"github.com/emicklei/go-restful"
... ...
@@ -512,9 +512,9 @@ func (m *Master) init(c *Config) {
512 512
 	if c.EnableLogsSupport {
513 513
 		apiserver.InstallLogsSupport(m.muxHelper)
514 514
 	}
515
-	if c.EnableUISupport {
516
-		ui.InstallSupport(m.muxHelper, m.enableSwaggerSupport)
517
-	}
515
+	/*if c.EnableUISupport {
516
+		ui.InstallSupport(m.mux)
517
+	}*/
518 518
 
519 519
 	if c.EnableProfiling {
520 520
 		m.mux.HandleFunc("/debug/pprof/", pprof.Index)