Skip to content
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

updated go version to 1.21.8 #1663

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Conversation

VedRatan
Copy link
Contributor

@VedRatan VedRatan commented Mar 6, 2024

Purpose of PR?:
This PR updates go version to latest one 1.22 including the CI.
Attempted to update to go 1.22 but snyk doesn't support it apparently. Will stick with go1.21.8 for now which has all the needed vuln. fixes backported.

Fixes #

Does this PR introduce a breaking change?

If the changes in this PR are manually verified, list down the scenarios covered::

Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs

Checklist:

  • Bug fix. Fixes #
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Commit has unit tests
  • Commit has integration tests

@PrimalPimmy
Copy link
Member

Are the errors in CI due to old go.sum? cc @DelusionalOptimist

@anurag-rajawat
Copy link
Contributor

controller-gen is crashing with go 1.22. So our CI is also failing due the same reason.
golang/go#65637

pkg/KubeArmorController/go.mod Outdated Show resolved Hide resolved
renovate.json Outdated Show resolved Hide resolved
@PrimalPimmy
Copy link
Member

@VedRatan use kubernetes-sigs/controller-tools#880 , basically update the controller-gen module to 0.14 to fix it

@VedRatan
Copy link
Contributor Author

VedRatan commented Mar 6, 2024

@VedRatan use kubernetes-sigs/controller-tools#880 , basically update the controller-gen module to 0.14 to fix it

Yes I am upgrading the controller-gen, will be pushing the changes now.

@DelusionalOptimist DelusionalOptimist force-pushed the latest_go branch 2 times, most recently from 74c6fb2 to 51defd6 Compare March 7, 2024 07:02
@DelusionalOptimist DelusionalOptimist changed the title updated go version to 1.22 updated go version to 1.21.8 Mar 7, 2024
@DelusionalOptimist
Copy link
Member

Sorry @VedRatan... had to take this over as it was blocking CI for all other PRs for the upcoming release. : (

@VedRatan
Copy link
Contributor Author

VedRatan commented Mar 7, 2024

No issues @DelusionalOptimist

@daemon1024 daemon1024 merged commit c3607df into kubearmor:main Mar 7, 2024
21 checks passed
@VedRatan VedRatan deleted the latest_go branch March 7, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants