Skip to content

Commit

Permalink
pins k8s env test to concrete version
Browse files Browse the repository at this point in the history
Latest uses go1.22 while we use 1.20

Signed-off-by: Spolti <[email protected]>
  • Loading branch information
spolti committed Apr 5, 2024
1 parent 77fc435 commit 154657c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.develop
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ RUN true \

# Use setup-envtest for kubebuilder to use K8s version 1.23+ for autoscaling/v2 (HPA)
RUN true \
&& go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest \
&& go install sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.0.0-20240320141353-395cfc7486e6 \
&& setup-envtest use 1.26 \
&& true

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.develop.ci
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ RUN true \

# Use setup-envtest for kubebuilder to use K8s version 1.23+ for autoscaling/v2 (HPA)
RUN true \
&& go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest \
&& go install sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.0.0-20240320141353-395cfc7486e6 \
&& setup-envtest use 1.23 \
&& true

Expand Down

0 comments on commit 154657c

Please sign in to comment.