Skip to content

Commit

Permalink
Limit controller-runtime to v0.17.2 for Go 1.21 support
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Shen <mshen@redhat.com>
  • Loading branch information
mjlshen committed Apr 1, 2024
1 parent d11572e commit 70f4f3e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/build_image-v5.0.0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ go install k8s.io/code-generator/cmd/openapi-gen@${OPENAPI_GEN_VERSION}
#########
# ENVTEST
#########
# We do not enforce versioning on setup-envtest
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
# Latest is only compatible with Go 1.22
# https://github.com/kubernetes-sigs/controller-runtime/issues/2744
ENVTEST_VERSION="bf15e44028f908c790721fc8fe67c7bf2d06a611"
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@${ENVTEST_VERSION}

##############
# govulncheck
Expand Down

0 comments on commit 70f4f3e

Please sign in to comment.