Commit Graph

26 Commits

Author SHA1 Message Date
Max Jonas Werner
1f13709413 chore: get rid of k8s.io/kubernetes dep
This dependency is problematic because of the many replaces it brings
with it. This makes it hard to import external-snapshotter in 3rd
party projects without having a lot of `replace` directives in those
projects as well.

The only usage of that import was to get two very simple utility
functions so I copied them over to this repo.
2020-07-21 18:23:38 +02:00
xing-yang
5800df6a61 Fix requeue logic in the common controller 2020-06-25 03:37:40 +00:00
Humble Chirammal
b72230379f update kube and vendor dependencies
With kubernetes 1.18 release of client-go, signatures on methods in
generated clientsets, dynamic, metadata, and scale clients have been
modified to accept context.Context as a first argument.
Signatures of Create, Update, and Patch methods have been updated
to accept CreateOptions, UpdateOptions and PatchOptions respectively.
Signatures of Delete and DeleteCollection methods now accept
DeleteOptions by value instead of by reference.
These changes are now accommodated with this PR and client-go
and dependencies are updated to v1.18.0

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2020-05-03 21:52:48 +05:30
bells17
3b76de4999 Added the feature to use secrets of ListSnapshots 2020-02-10 11:56:47 +09:00
saad-ali
97cb2c2214 Update dependencies
Change Kubernetes dependency to v1.17.0
Change csi-lib-utils to v0.7.0
2019-12-30 16:30:48 -08:00
xiangqian
728e29aa7e 1. update clientset, deepcopy using code-generator
2. add a dummy file tools.go to force "go mod vendor" to see
code-generator as dependencies
3. add a script to update CRD
4. add a README to document CRD updating steps
run go mod tidy
update README
2019-12-04 14:40:46 -08:00
Patrick Ohly
c466b8dc9f release-tools: update 2019-11-04 19:25:52 +01:00
Patrick Ohly
211f83fe15 replace "dep" with "go mod"
A simple "go mod init && go mod tidy && go mod vendor" was enough and
mostly seems to have picked the same revisions of the dependencies as
before. Notable exceptions are klog and gogo/protobuf.
2019-10-28 12:46:41 +01:00
Xing Yang
0c1faac468 Update VolumeSnapshot CRD version to v1beta
preserveUnknownField set to false, comments updates, adding pull request annotation
more comment updates
VolumeSnapshot comments
rename to VolumeSnapshotClassName
adding license
2019-10-24 16:33:52 -07:00
Michelle Au
d38cdc2f76 Update k8s.io dependencies to master to get selflink fix in client-go 2019-08-12 13:48:24 -07:00
Kubernetes Prow Robot
ae656b3dba Merge pull request #110 from xing-yang/unprune_code-generator
Un-prune code-generator scripts
2019-04-08 17:39:04 -07:00
Xing Yang
33f789c095 Un-prune code-generator scripts
Scripts under code-generator are required to generate code when
snapshot APIs are changed. Therefore they should not be pruned.
2019-04-07 18:56:20 -07:00
Andrew Sy Kim
4e3f4a86ec update vendor csi-lib-utils@v0.6.1
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-03 15:21:56 -04:00
Andrew Kim
c20ded872e update csi-lib-utils to v0.4.0 2019-03-29 21:12:29 -04:00
Michelle Au
a22a1576a4 update vendor to k8s 1.14.0 2019-03-27 17:00:02 -07:00
Michelle Au
bb5f13e6bb Update k8s apis to release-1.14 and update all of vendor 2019-03-11 14:01:03 -07:00
Michelle Au
8c0accad66 add prune and remove unused packages 2019-03-08 14:54:43 -08:00
Andrew Kim
7536845501 update vendor to use csi-lib-utils v0.3.0 2019-02-13 22:37:46 -05:00
Michelle Au
d41ad8a10b vendor protosanitizer 2018-11-30 13:32:10 -08:00
Cheng Xing
e2f1bdc372 Bumping k8s version to 1.13.0-beta.1 2018-11-19 14:13:47 -08:00
Cheng Xing
b4c0b68ec7 Bumping k8s dependencies to 1.13 2018-11-16 14:09:40 -08:00
Michelle Au
9be7a7dd24 Update vendor csi spec and csi-test to 1.0.0-rc2 2018-11-14 16:54:21 -08:00
Xing Yang
ec088551b7 Update vendor files to point to K8S 1.12.0
This PR updates vendor files to point to K8S 1.12.0.
2018-10-05 06:17:25 -07:00
Xing Yang
dc2a6df45a Update vendor files to point to kubernetes-1.12.0-beta.1 2018-09-17 18:36:04 -07:00
wackxu
a2987675cf add csi-test to vendor 2018-08-30 21:32:24 +08:00
xing-yang
e213d1890d Add generated file
This PR adds generated files under pkg/client and vendor folder.
2018-08-10 06:20:40 -07:00