Skip to content

Update client to kubernetes 1.8#84

Merged
lwander merged 3 commits into
kubernetes-client:masterfrom
mbohlool:update-1.8
Oct 3, 2017
Merged

Update client to kubernetes 1.8#84
lwander merged 3 commits into
kubernetes-client:masterfrom
mbohlool:update-1.8

Conversation

@mbohlool

Copy link
Copy Markdown
Contributor

Add update client script and update client to kubernetes 1.8.

@lwander lwander left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like some resources changed in name, most importantly V1Pod is now CoreV1Pod (breaks the util package). Is this client still backwards-compatible with prior cluster versions?

@lwander

lwander commented Sep 30, 2017

Copy link
Copy Markdown
Contributor

Looks like the URL path stays the same for CoreV1Pods. When a resource is promoted from a beta track to v1, does the API spec keep the beta resource around?

@mbohlool

Copy link
Copy Markdown
Contributor Author

I will look into this. Probably I need to change the pre-processing script to keep the names backward compatible. That would benefit all clients. Will update this PR and ping you when it is ready. Thanks.

@mbohlool

mbohlool commented Oct 3, 2017

Copy link
Copy Markdown
Contributor Author

@lwander I fixed the client generator in kubernetes-client/gen#24 and updated the client here using the new code to see if it fixed the problem. Please take another look.

@lwander

lwander commented Oct 3, 2017

Copy link
Copy Markdown
Contributor

Looks good - shame the extra parameters are required for all API calls

@lwander

lwander commented Oct 3, 2017

Copy link
Copy Markdown
Contributor

I'm ready to merge when you are

@mbohlool

mbohlool commented Oct 3, 2017

Copy link
Copy Markdown
Contributor Author

The other PR is merged. Please merge this one. Thanks.

@lwander lwander merged commit 2c3457d into kubernetes-client:master Oct 3, 2017
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.

2 participants