prometheus: `/graph` should be inaccessible, test `/api/v1/targets`
To reduce support footprint we remove access to 3rd party UIs.
@@ -580,7 +580,7 @@ var _ = g.Describe("[sig-instrumentation] Prometheus", func() {
o.Expect(err).NotTo(o.HaveOccurred())
g.By("verifying a service account token is able to authenticate")
- err = expectBearerTokenURLStatusCodeExec(ns, execPod.Name, fmt.Sprintf("%s/graph", url), bearerToken, 200)
+ err = expectBearerTokenURLStatusCodeExec(ns, execPod.Name, fmt.Sprintf("%s/api/v1/targets", url), bearerToken, 200)
o.Expect(err).NotTo(o.HaveOccurred())
g.By("verifying a service account token is able to access the Prometheus API")
