Commit Graph

25 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
4aa47e63ae Merge pull request #503 from xing-yang/update_csi_spec_dep
Update to CSI spec 1.4
2021-04-21 14:37:51 -07:00
xing-yang
8034e50bd3 Update to CSI spec 1.4 2021-04-21 19:58:01 +00:00
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
730e6f6458 Update to client/v4 2020-12-14 18:50:10 +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
Grant Griffiths
b457b08ffc Add certwatcher to webhook server
Signed-off-by: Grant Griffiths <grant@portworx.com>
2020-11-18 23:04:13 -08:00
xing-yang
9e21c6240d Move snapshot APIs and client to v1 (no controller changes) 2020-11-10 14:38:04 +00:00
Jiawei Wang
fa12fa91db Upgrade csi-lib-utils to 0.8.1 2020-10-01 17:31:31 -07:00
xing-yang
a2ac03c740 Update to v3 2020-09-08 21:25:47 +00:00
Humble Chirammal
5c7866ba79 Bump go version 1.15
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2020-08-29 18:14:21 +05:30
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
kartik494
ae215218d1 Added go modules for Apis and Client 2020-07-29 16:52:45 +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
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