Merge pull request #900 from fluxcd/go.mod-1.20

Align `go.mod` version with Kubernetes (Go 1.20)
This commit is contained in:
Stefan Prodan 2023-06-27 08:34:13 +03:00 committed by GitHub
commit b4d283862d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,6 @@
module github.com/fluxcd/kustomize-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/kustomize-controller
go 1.18
go 1.20
replace github.com/fluxcd/kustomize-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/kustomize-controller
ENV FLUX_CI=true