Commit bcccbc3d authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #47478 from cjcullen/logs

Automatic merge from submit-queue Don't test the debug /logs endpoint on GKE. GKE will not enable the /logs endpoint in 1.7. I'd like this test to still test the other cluster level endpoints.
parents ad43147e 978ba06f
...@@ -59,12 +59,14 @@ var _ = framework.KubeDescribe("Networking", func() { ...@@ -59,12 +59,14 @@ var _ = framework.KubeDescribe("Networking", func() {
{path: "/healthz"}, {path: "/healthz"},
{path: "/api"}, {path: "/api"},
{path: "/apis"}, {path: "/apis"},
{path: "/logs"},
{path: "/metrics"}, {path: "/metrics"},
{path: "/swaggerapi"}, {path: "/swaggerapi"},
{path: "/version"}, {path: "/version"},
// TODO: test proxy links here // TODO: test proxy links here
} }
if !framework.ProviderIs("gke") {
tests = append(tests, struct{ path string }{path: "/logs"})
}
for _, test := range tests { for _, test := range tests {
By(fmt.Sprintf("testing: %s", test.path)) By(fmt.Sprintf("testing: %s", test.path))
data, err := f.ClientSet.Core().RESTClient().Get(). data, err := f.ClientSet.Core().RESTClient().Get().
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment