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 Kubebuilder to 3.4 #160

Open
everettraven opened this issue Apr 28, 2022 · 3 comments
Open

Bump Kubebuilder to 3.4 #160

everettraven opened this issue Apr 28, 2022 · 3 comments

Comments

@everettraven
Copy link
Contributor

We need to bump Kubebuilder to 3.4. This would have some breaking changes due to adding support for go 1.18

@everettraven
Copy link
Contributor Author

After taking a brief look into this. It seems as though we won't be able to upgrade to Kubebuilder 3.4.0 until Helm updates their k8s dependency versions to 0.24.0,

Helm's latest release is 3.8.2 which uses k8s dependencies at 0.23.6. The k8s dependencies locked at 0.23.6 causes us to have an indirect dependency on sigs.k8s.io/kustomize/api v0.10.1 which is causing the following error when attempting to run make generate:

../../go/pkg/mod/sigs.k8s.io/kustomize/[email protected]/resmap/reswrangler.go:218:19: id.GvknString undefined (type resid.ResId has no field or method GvknString)

This issue has already been fixed in a newer release of sigs.k8s.io/kustomize/api but we won't be able to use the latest one until there is a new Helm release with the k8s dependencies upgraded to 0.24.0

@everettraven
Copy link
Contributor Author

There is already a PR for this bump to be made: helm/helm#10928

@camilamacedo86
Copy link
Contributor

Kubebuilder 3.4 does not support 1.18 or k8s 1.24 yet.
But yes, +1 to bump and update this project with its latest changes.
Note that the Makefile will need to be updated/changed as well.

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

No branches or pull requests

2 participants