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

Bump for 1.27 k8s compat #65

Merged
merged 2 commits into from
Sep 5, 2023
Merged

Conversation

MbolotSuse
Copy link
Contributor

Bumps the go version to 1.20, the lasso version, and the underlying k8s libraries for 1.27 support

k8s.io/apimachinery v0.26.4
github.com/stretchr/testify v1.8.4
k8s.io/api v0.27.5
k8s.io/apimachinery v0.27.5
k8s.io/client-go v12.0.0+incompatible
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason for using this v12... version of client-go instead of v0.27.5?

Copy link
Contributor Author

@MbolotSuse MbolotSuse Sep 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is overridden by the replace directive above: https://github.com/rancher/csp-adapter/pull/65/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R13. Rancher/rancher uses a similar system: https://github.com/rancher/rancher/blob/564fbe67d735feab5064f8bc4cbd42df730fe550/go.mod#L152.

I'd appreciate it if you could focus on the changes which this PR made - given the status of the repo and the urgency of this I think it makes sense to focus on the new-side changes rather than re-evaluating prior decisions.

Copy link

@tomleb tomleb Sep 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it doesn't matter because this gets replaced in the replace directive:

replace (
	...
	k8s.io/client-go => github.com/rancher/client-go v1.27.4-rancher1

EDIT: You beat me to it.

Bumps the go version to 1.20, the lasso version, and the underlying k8s
libraries for 1.27 support
@MbolotSuse MbolotSuse merged commit cecb743 into rancher:release/v2.8 Sep 5, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants