Skip to content

Commit 1ba0565

Browse files
committed
commands: Pin version of prometheus-operator
Due to some dep weirdness, it was always pining to a very old version of the prometheus-operator, we want at least v0.25.0, otherwise k8s imports fight amongst each other.
1 parent 22ace73 commit 1ba0565

File tree

1 file changed

+1
-0
lines changed
  • commands/operator-sdk/cmd

1 file changed

+1
-0
lines changed

commands/operator-sdk/cmd/new.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ func pullDep() {
289289
}
290290
fmt.Fprintln(os.Stdout, "Run dep ensure ...")
291291
execCmd(os.Stdout, dep, ensureCmd, "-v")
292+
execCmd(os.Stdout, dep, ensureCmd, "-add github.com/coreos/prometheus-operator@^v0.25.0")
292293
fmt.Fprintln(os.Stdout, "Run dep ensure done")
293294
}
294295

0 commit comments

Comments
 (0)