Skip to content
Draft

test #2427

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Observability Overview
test# Observability Overview

[![Build](https://img.shields.io/badge/build-Prow-informational)](https://prow.ci.openshift.org/?repo=stolostron%2F${multicluster-observability-operator})
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
Expand Down
2 changes: 2 additions & 0 deletions tests/pkg/tests/observability_alert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ var _ = Describe("", func() {

client := &http.Client{
Transport: &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{RootCAs: pool},
},
}
Expand Down Expand Up @@ -566,6 +567,7 @@ var _ = Describe("", func() {

client := &http.Client{
Transport: &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{RootCAs: pool},
},
}
Expand Down
2 changes: 2 additions & 0 deletions tests/pkg/tests/observability_route_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ var _ = Describe("", func() {
pool := x509.NewCertPool()
pool.AppendCertsFromPEM(caCrt)
tr := &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{RootCAs: pool},
}

Expand Down Expand Up @@ -153,6 +154,7 @@ var _ = Describe("", func() {
pool := x509.NewCertPool()
pool.AppendCertsFromPEM(caCrt)
tr := &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{RootCAs: pool},
}

Expand Down
1 change: 1 addition & 0 deletions tests/pkg/utils/mco_dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func ContainDashboard(opt TestOptions, title string) (error, bool) {
client := &http.Client{}
if os.Getenv("IS_KIND_ENV") != trueStr {
tr := &http.Transport{
Proxy: http.ProxyFromEnvironment,
// #nosec G402 -- Used in test.
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
}
Expand Down
1 change: 1 addition & 0 deletions tests/pkg/utils/mco_metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func QueryGrafana(opt TestOptions, query string) (*GrafanaResponse, error) {
client := &http.Client{}
if os.Getenv("IS_KIND_ENV") != "true" {
tr := &http.Transport{
Proxy: http.ProxyFromEnvironment,
// #nosec G402 -- Only used in test.
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
}
Expand Down
Loading