Skip to content

Commit

Permalink
✨ Upgrade Prometheus Operator version used on the tests from v0.72.0 …
Browse files Browse the repository at this point in the history
…to 0.77.1 (#4212)

Upgrade Prometheus Operator version used on the tests to 0.77.1
  • Loading branch information
camilamacedo86 authored Oct 11, 2024
1 parent 7527b0d commit 96a0abc
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

const (
prometheusOperatorVersion = "v0.72.0"
prometheusOperatorVersion = "v0.77.1"
prometheusOperatorURL = "https://github.com/prometheus-operator/prometheus-operator/" +
"releases/download/%s/bundle.yaml"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

const (
prometheusOperatorVersion = "v0.72.0"
prometheusOperatorVersion = "v0.77.1"
prometheusOperatorURL = "https://github.com/prometheus-operator/prometheus-operator/" +
"releases/download/%s/bundle.yaml"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

const (
prometheusOperatorVersion = "v0.72.0"
prometheusOperatorVersion = "v0.77.1"
prometheusOperatorURL = "https://github.com/prometheus-operator/prometheus-operator/" +
"releases/download/%s/bundle.yaml"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import (
)
const (
prometheusOperatorVersion = "v0.72.0"
prometheusOperatorVersion = "v0.77.1"
prometheusOperatorURL = "https://github.com/prometheus-operator/prometheus-operator/" +
"releases/download/%s/bundle.yaml"
Expand Down
8 changes: 4 additions & 4 deletions test/e2e/utils/test_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ import (
const (
certmanagerVersion = "v1.16.0"
certmanagerURLTmpl = "https://github.com/cert-manager/cert-manager/releases/download/%s/cert-manager.yaml"
prometheusOperatorVersion = "0.51"
prometheusOperatorURL = "https://raw.githubusercontent.com/prometheus-operator/" +
"prometheus-operator/release-%s/bundle.yaml"
prometheusOperatorVersion = "v0.77.1"
prometheusOperatorURL = "https://github.com/prometheus-operator/prometheus-operator/" +
"releases/download/%s/bundle.yaml"
)

// TestContext specified to run e2e tests
Expand Down Expand Up @@ -153,7 +153,7 @@ func (t *TestContext) UninstallCertManager() {
// InstallPrometheusOperManager installs the prometheus manager bundle.
func (t *TestContext) InstallPrometheusOperManager() error {
url := t.makePrometheusOperatorURL()
_, err := t.Kubectl.Apply(false, "-f", url)
_, err := t.Kubectl.Command("create", "-f", url)
return err
}

Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v4-multigroup/test/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

const (
prometheusOperatorVersion = "v0.72.0"
prometheusOperatorVersion = "v0.77.1"
prometheusOperatorURL = "https://github.com/prometheus-operator/prometheus-operator/" +
"releases/download/%s/bundle.yaml"

Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v4-with-plugins/test/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

const (
prometheusOperatorVersion = "v0.72.0"
prometheusOperatorVersion = "v0.77.1"
prometheusOperatorURL = "https://github.com/prometheus-operator/prometheus-operator/" +
"releases/download/%s/bundle.yaml"

Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v4/test/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

const (
prometheusOperatorVersion = "v0.72.0"
prometheusOperatorVersion = "v0.77.1"
prometheusOperatorURL = "https://github.com/prometheus-operator/prometheus-operator/" +
"releases/download/%s/bundle.yaml"

Expand Down

0 comments on commit 96a0abc

Please sign in to comment.