Commit Graph

28 Commits

Author SHA1 Message Date
wxinyan
17b8ffe7f8 Update k8s dependency version to 1.21
Signed-off-by: xinyanwu409 <wxinyan@vmware>
2021-04-18 21:02:08 -07:00
xing-yang
e22364e1cf Bump dependencies to Kubernetes 1.20 2020-12-15 13:15:48 +00:00
xing-yang
6761111167 Bump csi-lib-utils to v0.9.0 2020-12-05 02:39:03 +00:00
xing-yang
7efebbedec Switch to klog/v2 2020-12-04 15:53:48 +00:00
Andi Li
42b6b374cf Add phase 1 of validation tightening.
https://github.com/kubernetes/enhancements/blob/master/keps/sig-storage/177-volume-snapshot/tighten-validation-webhook-crd.md

1. Ratcheting validation webhook server image
2. Controller labels invalid objects
3. Unit tests for webhook
4. Deployment README and example deployment method with certs
5. Update top-level README

Racheting validation:
1. webhook is strict on create
2. webhook is strict on updates where the existing object passes strict validation
3. webhook is relaxed on updates where the existing object fails strict validation (allows finalizer removal, status update, deletion, etc)

Additionally the validating wehook server will perform immutability
checks on scenario 2 above.
2020-08-27 20:34:21 -04:00
Humble Chirammal
6c67682d7a Bump kube dependencies to v1.19.0
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2020-08-27 09:12:45 +05:30
kartik494
4807a7b031 move hack to client 2020-08-14 09:40:03 +05:30
Christian Huffman
bda8f8c0ae Update vendored dependencies 2020-07-24 09:42:17 -04:00
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
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
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
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
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
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