-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Align go.mod
version with Kubernetes (Go 1.20)
#1134
Conversation
Bump Go to 1.20 in go.mod Signed-off-by: Stefan Prodan <[email protected]>
Pinging @pjbgf @AdamKorcz Looks like oss-fuzz is requiring Go 1.19 that will be EOL in a couple of weeks. Is there anything we can do to get Go 1.20 in the base image? |
@stefanprodan You can do the same as here: https://github.com/google/oss-fuzz/blob/43ec92a9737b2d962a774de4bc646d6a9c1e6a7a/projects/istio/Dockerfile#L20-L24 Doing it in Fluxcd's Dockerfile will after all the Flux projects that OSS-Fuzz is fuzzing, or you can do it in source-controllers own build file. |
Updated Go to 1.20 and now fails like this:
|
This will fix it: https://github.com/google/oss-fuzz/blob/43ec92a9737b2d962a774de4bc646d6a9c1e6a7a/projects/istio/build.sh#L18-L19 |
@AdamKorcz so what should I do, should I open a PR in oss-fuzz to update the Flux dockerfile and script? |
Yes. Note that if the other Flux projects have not bumped their go.mod files to 1.20 then they would break. |
I plan to update all Flux controllers to Go 1.20 today and release it with Flux GA this week. |
@AdamKorcz here is the PR google/oss-fuzz#10597 Thanks |
Signed-off-by: Stefan Prodan <[email protected]>
3cada18
to
6266119
Compare
go.mod
version with Kubernetes (Go 1.20)
Part of: fluxcd/flux2#4014