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

Upgrade k8s.io/* to v0.28, sigs.k8s.io/controller-runtime to v0.16 #8382

Open
2 of 3 tasks
shafeeqes opened this issue Aug 23, 2023 · 8 comments
Open
2 of 3 tasks

Upgrade k8s.io/* to v0.28, sigs.k8s.io/controller-runtime to v0.16 #8382

shafeeqes opened this issue Aug 23, 2023 · 8 comments
Assignees
Labels
area/dev-productivity Developer productivity related (how to improve development) area/open-source Open Source (community, enablement, contributions, conferences, CNCF, etc.) related kind/enhancement Enhancement, improvement, extension

Comments

@shafeeqes
Copy link
Contributor

shafeeqes commented Aug 23, 2023

How to categorize this issue?

/area open-source dev-productivity
/kind enhancement

What would you like to be added:

We should upgrade to the latest versions of our go upstream dependencies:

Important changes / Action items

Here is a list of a few upstream changes to look out for when vendoring g/g, k/* and c-r in any of our repos (e.g. extensions). Please consider the release notes of controller-runtime@v0.16 and upwards as well for a more complete list and more details.

⚠️ breaking / most notable changes

ℹ️ other changes / good to know / for information only:

  • ...
@gardener-prow gardener-prow bot added area/open-source Open Source (community, enablement, contributions, conferences, CNCF, etc.) related area/dev-productivity Developer productivity related (how to improve development) kind/enhancement Enhancement, improvement, extension labels Aug 23, 2023
@shafeeqes
Copy link
Contributor Author

To be tackled after #7991

@acumino
Copy link
Member

acumino commented Sep 8, 2023

/assign

@acumino
Copy link
Member

acumino commented Sep 22, 2023

/unassign
/assign @ary1992

@gardener-prow gardener-prow bot assigned ary1992 and unassigned acumino Sep 22, 2023
@ary1992
Copy link
Contributor

ary1992 commented Sep 25, 2023

There were few changes done in the new code-generator which breaks our code generation:

  • In new new kube-codegen.sh script, code-gen is called only on type.go file refer. But our apis files are named as type_<api>.go. Hence fix is needed to also include file with names as types_*.go.
    There is already an open PR.
  • We are using --extra-peer-dirs at few places for conversion-gen. New kube-codegen.sh doesnot allow the flag anymore. Opened an issue upstream regarding this refer

@ary1992
Copy link
Contributor

ary1992 commented Oct 16, 2023

Issues related to gen_client function which is breaking us is tracked in the following upstream issue kubernetes/kubernetes#121247

@ary1992
Copy link
Contributor

ary1992 commented Dec 4, 2023

As the kubernetes code-generator no longer generates client, informers and listers for internal packages, we need to drop using internal clients ,lister and informers. Following PR adapts the changes #8851

@rfranzke
Copy link
Member

rfranzke commented Mar 4, 2024

@ary1992 Could you please update the issue description such that it's visible which takes are still open/what needs to be done? Or do you think it makes more sense to close this one and open a dedicated issue for the left-overs?

@ary1992
Copy link
Contributor

ary1992 commented Mar 4, 2024

Issues related to gen_client function which is breaking us is tracked in the following upstream issue kubernetes/kubernetes#121247

The issue is fixed with PR kubernetes/kubernetes#121411 and will be shipped with K8s v1.30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dev-productivity Developer productivity related (how to improve development) area/open-source Open Source (community, enablement, contributions, conferences, CNCF, etc.) related kind/enhancement Enhancement, improvement, extension
Projects
None yet
Development

No branches or pull requests

4 participants