use our own serve mux that directs how we want

This commit is contained in:
deads2k
2017-04-13 15:25:17 -04:00
parent fcd9b7f7ba
commit c837c7fb1a
14 changed files with 244 additions and 128 deletions

View File

@@ -2943,7 +2943,7 @@ runTests() {
# Make sure the UI can be proxied
start-proxy
check-curl-proxy-code /ui 301
check-curl-proxy-code /ui 307
check-curl-proxy-code /api/ui 404
check-curl-proxy-code /api/v1/namespaces 200
if kube::test::if_supports_resource "${metrics}" ; then
@@ -2962,7 +2962,7 @@ runTests() {
# Custom paths let you see everything.
start-proxy /custom
check-curl-proxy-code /custom/ui 301
check-curl-proxy-code /custom/ui 307
if kube::test::if_supports_resource "${metrics}" ; then
check-curl-proxy-code /custom/metrics 200
fi