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

Regenerate for Kubernetes 1.31 #3734

Conversation

brendandburns
Copy link
Contributor

@yue9944882 I had to generate this in my own branch, and then it turned out the patches were a little broken, so fixed up the JSON.java patch also. Let me know if you want me to split out that fix into a different branch.

Copy link

linux-foundation-easycla bot commented Oct 10, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: brendandburns / name: Brendan Burns (121d0ea)

@k8s-ci-robot k8s-ci-robot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Oct 10, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brendandburns

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Oct 10, 2024
public static GsonBuilder createGson() {
GsonFireBuilder fireBuilder = new GsonFireBuilder()
;
- GsonBuilder builder = fireBuilder.createGsonBuilder();
- return builder;
+ GsonBuilder builder =
+ fireBuilder
+ .registerPreProcessor(V1Status.class, new V1StatusPreProcessor())
Copy link
Member

Choose a reason for hiding this comment

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

@brendandburns looks like the patch has been broken for a while, curiously did you change JSON.java manually when generating 1.30?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I think I broke this when I regenerated 1.30

@yue9944882
Copy link
Member

/lgtm

@brendandburns the change LGTM, could you squash the change into single commit to workaround the CLA check? it's a bit tricky that we can't do a normal squash, instead we need to do a force reset and re-commit to purge the bot author information from the commit.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 17, 2024
@cache-sk
Copy link

Can I humbly ask for the models to be regenerated again so that there are swagger annotations as well?

Alternatively, regenerate them again after this merge, but before the release of 22.x.y?

Thank you very much in advance.

@brendandburns
Copy link
Contributor Author

@cache-sk its going to take some work to regenerate with the annotations, I'm going to merge this PR. Then we'll see if I have time to run the regeneration before we cut the release. We will definitely get it into a patch release for 22.0.x

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 18, 2024
@k8s-ci-robot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Oct 18, 2024
@brendandburns
Copy link
Contributor Author

@yue9944882 squashed, it needs a new lgtm since the commits changed.

@yue9944882 yue9944882 added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 18, 2024
@k8s-ci-robot k8s-ci-robot merged commit 7edfd25 into kubernetes-client:master Oct 18, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants