Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumping Prometheus Operator version #856

Merged
merged 1 commit into from
Jan 23, 2024
Merged
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
4 changes: 2 additions & 2 deletions build/kube_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function install_cert_manager {
}

function install_prometheus_operator {
PROM_VERSION=0.47.0
PROM_VERSION=0.56.3
PROM_OPERATOR_NS=default
PROM_TARFILE="prometheus-operator-${PROM_VERSION}.tar.gz"

Expand All @@ -179,7 +179,7 @@ function install_prometheus_operator {

echo "*** Applying prometheus operator manifest ..."
cd prometheus-operator-${PROM_VERSION}
${KUBECTL_CMD} apply -f bundle.yaml
${KUBECTL_CMD} create -f bundle.yaml --validate=false

echo "*** Will wait for Prometheus operator to come up in background"
${KUBECTL_CMD} rollout status deployment/prometheus-operator -n $PROM_OPERATOR_NS | sed "s/^/[prometheus] /" &
Expand Down
2 changes: 1 addition & 1 deletion controllers/cloud.redhat.com/providers/metrics/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func createSubscription(cache *rc.ObjectCache, env *crd.ClowdEnvironment) error
Name: "prometheus",
Source: "community-operators",
SourceNamespace: "openshift-marketplace",
StartingCSV: utils.StringPtr("prometheusoperator.0.47.0"),
StartingCSV: utils.StringPtr("prometheusoperator.0.56.3"),
}

return cache.Update(PrometheusSubscription, subObj)
Expand Down
9 changes: 5 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/minio/minio-go/v7 v7.0.43
github.com/onsi/ginkgo/v2 v2.13.0
github.com/onsi/gomega v1.29.0
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.58.0
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.56.3
github.com/prometheus/client_golang v1.15.1
github.com/stretchr/testify v1.8.4
go.uber.org/zap v1.25.0
Expand Down Expand Up @@ -56,7 +56,8 @@ require (
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-kit/kit v0.10.0 // indirect
github.com/go-kit/kit v0.13.0 // indirect
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.5.1 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.20.0 // indirect
Expand Down Expand Up @@ -167,9 +168,9 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
howett.net/plist v1.0.0 // indirect
k8s.io/component-base v0.26.4 // indirect
k8s.io/klog/v2 v2.80.1 // indirect
k8s.io/klog/v2 v2.90.0 // indirect
k8s.io/kube-openapi v0.0.0-20221207184640-f3cff1453715 // indirect
k8s.io/utils v0.0.0-20221128185143-99ec85e7a448 // indirect
k8s.io/utils v0.0.0-20230202215443-34013725500c // indirect
knative.dev/pkg v0.0.0-20220826162920-93b66e6a8700 // indirect
sigs.k8s.io/gateway-api v0.6.0 // indirect
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
Expand Down
Loading
Loading