Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update vendor for Block volume feature
To update "github.com/kubernetes-incubator/external-storage" to use kubernetes-retired/external-storage#830, just dep-ensure it doesn't work well with below error. # dep ensure -update "github.com/kubernetes-incubator/external-storage" # make container mkdir -p bin CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-X main.version=v0.2.0-24-g6f650608-dirty -extldflags "-static"' -o ./bin/csi-provisioner ./cmd/csi-provisioner # github.com/kubernetes-csi/external-provisioner/vendor/github.com/kubernetes-incubator/external-storage/lib/controller vendor/github.com/kubernetes-incubator/external-storage/lib/controller/controller.go:455:39: unknown field 'Limiter' in struct literal of type workqueue.BucketRateLimiter vendor/github.com/kubernetes-incubator/external-storage/lib/controller/controller.go:459:40: unknown field 'Limiter' in struct literal of type workqueue.BucketRateLimiter make: *** [Makefile:32: csi-provisioner] Error 2 Because kubernetes-incubator/external-storage was changed to access to Limiter in workqueue.BucketRateLimiter in (*1), and it is introduced to client-go in (*2). So, client-go needs to be updated to the version after this commit. (*1) Use rate limited work queues and up resync from 15s to 15m kubernetes-retired/external-storage@126c9ff (*2) Switch from juju/ratelimit to golang.org/x/time/rate kubernetes/client-go@acc5249 So, Gopkg.toml is updated to make "k8s.io/client-go" use "v7.0.0" instead of "v6.0.0", and also it is dep-ensure'd. # dep ensure -update "k8s.io/client-go"
- Loading branch information