kubernetes-sigs / hierarchical-namespaces

Home of the Hierarchical Namespace Controller (HNC). Adds hierarchical policies and delegated creation to Kubernetes namespaces for improved in-cluster multitenancy.
Apache License 2.0
607 stars 105 forks source link

Unable to build with Go 1.22 #361

Open erikgb opened 6 months ago

erikgb commented 6 months ago

While working on https://github.com/kubernetes-sigs/hierarchical-namespaces/pull/285, I notice that this project cannot be built with Go 1.22, so I had to install Go 1.21 to make any progress.

/help

k8s-ci-robot commented 6 months ago

@erikgb: This request has been marked as needing help from a contributor.

Guidelines

Please ensure that the issue body includes answers to the following questions:

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to [this](https://github.com/kubernetes-sigs/hierarchical-namespaces/issues/361): >While working on https://github.com/kubernetes-sigs/hierarchical-namespaces/pull/285, I notice that this project cannot be built with Go 1.22, so I had to install Go 1.21 to make any progress. > >/help Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
erikgb commented 6 months ago

I think a serious overhaul of dependencies in this project is required to fix this issue. That will also close a lot of reported vulnerabilities.

pjonsson commented 5 months ago

I think a serious overhaul of dependencies in this project is required to fix this issue.

When #359 is merged, there should be pull requests submitted for that by Dependabot.