Skip to content

Commit

Permalink
go.mod: use go1.20 and import prometheus-operator from the openshift …
Browse files Browse the repository at this point in the history
…fork

Since p-o v0.70.0 uses 1.21 and relies on 1.21 features we have some
downstream commits to make it 1.20 compatible.
We should revert this once we have 1.21 builder images.

Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
  • Loading branch information
jan--f committed Dec 13, 2023
1 parent 86b71d2 commit 01dbbd9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 77 deletions.
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/openshift/cluster-monitoring-operator

go 1.21
go 1.20

require (
github.com/Jeffail/gabs v1.4.0
Expand Down Expand Up @@ -158,3 +158,5 @@ require (
)

replace k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20230928195430-ce36a0c3bb67

replace github.com/prometheus-operator/prometheus-operator v0.70.0 => github.com/openshift/prometheus-operator v0.20.1-0.20231211152750-5bf04f3ca997

0 comments on commit 01dbbd9

Please sign in to comment.