Skip to content

Commit da2abc0

Browse files
committed
scaffold: Add prometheus-operator dep constraint
1 parent b557dcb commit da2abc0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

pkg/scaffold/gopkgtoml.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ required = [
7373
name = "sigs.k8s.io/controller-runtime"
7474
version = "v0.1.4"
7575
76+
[[override]]
77+
name = "github.com/coreos/prometheus-operator"
78+
version = "v0.25.0"
79+
7680
[[constraint]]
7781
name = "github.com/operator-framework/operator-sdk"
7882
# The version rule is used for a specific release and the master branch for in between releases.

pkg/scaffold/gopkgtoml_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ required = [
7272
name = "sigs.k8s.io/controller-runtime"
7373
version = "v0.1.4"
7474
75+
[[override]]
76+
name = "github.com/coreos/prometheus-operator"
77+
version = "v0.25.0"
78+
7579
[[constraint]]
7680
name = "github.com/operator-framework/operator-sdk"
7781
# The version rule is used for a specific release and the master branch for in between releases.

0 commit comments

Comments
 (0)