Align go.mod version with Kubernetes (Go 1.20)

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan 2023-06-26 19:31:12 +03:00
parent 60090cc288
commit baf3150a6c
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF
4 changed files with 9 additions and 3 deletions

View File

@ -24,7 +24,7 @@ If any of the above dependencies are not present on your system, the first invoc
## How to run the test suite
Prerequisites:
* Go >= 1.18
* Go >= 1.20
You can run the test suite by simply doing

View File

@ -1,6 +1,6 @@
module github.com/fluxcd/helm-controller/api
go 1.18
go 1.20
require (
github.com/fluxcd/pkg/apis/kustomize v1.1.0

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/fluxcd/helm-controller
go 1.18
go 1.20
replace github.com/fluxcd/helm-controller/api => ./api

View File

@ -1,5 +1,11 @@
FROM gcr.io/oss-fuzz-base/base-builder-go
RUN wget https://go.dev/dl/go1.20.5.linux-amd64.tar.gz \
&& mkdir temp-go \
&& rm -rf /root/.go/* \
&& tar -C temp-go/ -xzf go1.20.5.linux-amd64.tar.gz \
&& mv temp-go/go/* /root/.go/
ENV SRC=$GOPATH/src/github.com/fluxcd/helm-controller
ENV FLUX_CI=true