Skip to content

Commit

Permalink
Bumping Prometheus Operator version
Browse files Browse the repository at this point in the history
  • Loading branch information
gburges committed Jan 18, 2024
1 parent b3a5a4d commit 80f080b
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 240 deletions.
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
Empty file removed docs/build/.placeholder
Empty file.
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.3
go.uber.org/zap v1.24.0
Expand Down Expand Up @@ -57,7 +57,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 @@ -171,9 +172,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

0 comments on commit 80f080b

Please sign in to comment.