diff --git a/support/prometheus_api_client.go b/support/prometheus_api_client.go index 8213846..ad4d2b2 100644 --- a/support/prometheus_api_client.go +++ b/support/prometheus_api_client.go @@ -36,6 +36,7 @@ func GetOpenShiftPrometheusApiClient(t Test) prometheusapiv1.API { // Functionality intended just for testing purpose, DO NOT USE IN PRODUCTION tr := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, + Proxy: http.ProxyFromEnvironment, } client, err := prometheusapi.NewClient(prometheusapi.Config{ Address: "https://" + prometheusOpenShiftRoute.Status.Ingress[0].Host,