Update to use proxy subresource consistently

This commit is contained in:
Jordan Liggitt
2017-01-09 16:17:23 -05:00
parent dc1302c5ef
commit 88a876b1d0
13 changed files with 81 additions and 33 deletions

View File

@@ -22,7 +22,7 @@ import (
"k8s.io/apiserver/pkg/server/mux"
)
const dashboardPath = "/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard"
const dashboardPath = "/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy"
// UIRediect redirects /ui to the kube-ui proxy path.
type UIRedirect struct{}