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 client-go version to 8.0.0 #3329

Merged
merged 1 commit into from
Aug 24, 2018

Conversation

satyamz
Copy link
Contributor

@satyamz satyamz commented Aug 24, 2018

This PR will
Add:

  • golang.org/x/time

Upgrade:

  • k8s.io/client-go v8.0.0
  • k8s.io/api version to kubernetes-1.11.0
  • k8s.io/apimachinery version to kubernetes-1.11.0
  • github.com/json-iterator/go version to latest because
    https://github.com/kubernetes/kubernetes/issues/64612

Delete:

gvt delete k8s.io/client-go
gvt delete k8s.io/api
gvt delete k8s.io/apimachinery
gvt delete github.com/json-iterator/go
gvt delete github.com/juju/ratelimit

gvt fetch --no-recurse -tag v8.0.0 k8s.io/client-go
gvt fetch --no-recurse -tag kubernetes-1.11.0 k8s.io/api
gvt fetch --no-recurse -tag kubernetes-1.11.0 k8s.io/apimachinery
gvt fetch github.com/json-iterator/go
gvt fetch golang.org/x/time

fixes: #3284

Signed-off-by: Satyam Zode satyamzode@gmail.com

This will
Add:
	- golang.org/x/time
upgrade:
        - k8s.io/client-go v8.0.0
	- k8s.io/api version to kubernetes-1.11.0
	- k8s.io/apimachinery version to kubernetes-1.11.0
	- github.com/json-iterator/go version to latest because `https://github.com/kubernetes/kubernetes/issues/64612`
delete:
	- vendor/github.com/juju/ratelimit because k8s-client-go is shifted to golang.org/x/time
	  Please refer: kubernetes/client-go@acc5249

```
gvt delete k8s.io/client-go
gvt delete k8s.io/api
gvt delete k8s.io/apimachinery
gvt delete github.com/json-iterator/go
gvt delete github.com/juju/ratelimit

gvt fetch --no-recurse -tag v8.0.0 k8s.io/client-go
gvt fetch --no-recurse -tag kubernetes-1.11.0 k8s.io/api
gvt fetch --no-recurse -tag kubernetes-1.11.0 k8s.io/apimachinery
gvt fetch github.com/json-iterator/go
gvt fetch golang.org/x/time
```

fixes: weaveworks#3284

Signed-off-by: Satyam Zode <satyamzode@gmail.com>
@bboreham
Copy link
Collaborator

Looks clean - I've pushed the branch to weaveworks' repo so full CI tests will run.

@dholbach
Copy link
Contributor

dholbach commented Aug 24, 2018

This is not a complete review (as I'm not a real scope developer), but from my POV it's a 👍. I checked the following:

  • changes only touch the bits in ./vendor as mentioned above
  • local build works, cursory test of ./scope launch seems to work fine
  • juju/ratelimit is dropped (which is the main point of Please update vendored copy of k8s.io/client-go #3284)
  • license review of pulled in vendored deps: no new surprises

Copy link
Contributor

@qiell qiell left a comment

Choose a reason for hiding this comment

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

The local build is working fine.
Thanks for upgrading the client @satyamz

Copy link
Collaborator

@bboreham bboreham left a comment

Choose a reason for hiding this comment

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

Thanks!

@bboreham bboreham merged commit eb3a2fe into weaveworks:master Aug 24, 2018
@dholbach
Copy link
Contributor

Thanks a lot @satyamz!

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.

Please update vendored copy of k8s.io/client-go
4 participants