Commit Graph

67 Commits

Author SHA1 Message Date
Raunak Pradip Shah 23ef3b5220 Remove v1beta1 references from validation webhook 2022-05-11 12:16:11 +05:30
Humble Chirammal 4b1dd81de1 update kube dependencies to v1.24.0 release
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-05-05 08:58:19 +05:30
Raunak Pradip Shah 4538672df6 Update vendor 2022-04-20 10:29:55 +05:30
Kubernetes Prow Robot aeb26b6860 Merge pull request #684 from dobsonj/client-golang-v1.11.1
Bump prometheus/client_golang to v1.11.1
2022-04-05 15:51:25 -07:00
Jonathan Dobson 91141ba52a Bump prometheus/client_golang to v1.11.1 2022-04-05 10:47:38 -06:00
Raunak Pradip Shah 3c09ceb7f1 Change SourceVolumeMode type to v1.PersistentVolumeMode. 2022-04-05 10:47:26 +05:30
Raunak Pradip Shah 5b3a927d2a Vendored deps 2022-03-24 21:40:29 +05:30
Raunak Pradip Shah d300796fab - Update snapshotter module to v6
- Update snapshotter client module to v5
- Update go version in client modules to v1.17
2022-03-23 08:59:19 +05:30
kartik494 b736fc8862 fix api convention metadata redirection 2022-02-23 13:22:03 +05:30
Patrick Ohly 6c4f1673b0 Merge commit '440e4cf7ddc75a5c64e5397b8907916adb1d00a5' into prow-update-master 2022-02-16 17:15:18 +01:00
Ubuntu 21fc337b87 feat: Implement distributed snapshotting 2021-12-24 20:03:31 +00:00
Humble Chirammal 45b2fe6cbf update kube and dependencies to v1.23
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2021-12-14 22:33:38 +05:30
Lintong Jiang 9d1492a945 Fixed the bug introduced by PR 621 and exposed the kube-api-qps cmd option properly 2021-12-11 17:01:49 -08:00
Lintong Jiang f3136decb3 Make the QPS and Burst of kube client config to be configurable in both csi-snapshotter and snapshot-controller 2021-12-07 10:28:36 -08:00
Patrick Ohly 5a495061b6 Merge commit '592d68113973f7f79e714e930f7891577817eade' into prow-update-master 2021-11-16 17:18:41 +01:00
Robbie deMuth 4f5383af19 Add short names for Volume Snapshot CRDs
This allows end users to run `kubectl get vs`, for example, instead of
`kubectl get volumesnapshot`. The following short names have been
implemented:

* `VolumeSnapshot` - `vs`
* `VolumeSnapshotContent` - `vsc`, `vscs`
* `VolumeSnapshotClass` - `vsclass`, `vsclasses`
2021-11-02 12:24:42 -04:00
Grant Griffiths 3b9f0e2c72 Fix unit tests and don't patch with empty finalizers
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com>
2021-09-28 14:29:40 -07:00
Chris Henzie c858a697ef Use csi-lib-utils v0.10.0 2021-08-09 10:22:53 -07:00
Chris Henzie e31f462805 Update k8s dependencies to v1.22.0 2021-08-04 15:38:49 -07:00
Humble Chirammal 9bd2d9cdcc snap client version update to v4.1.0 in the dependency
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2021-08-04 14:27:31 +05:30
Chris Henzie 59725e39fe Update k8s dependencies to v1.22.0-rc.0 2021-07-28 10:37:46 -07:00
Chris Henzie b2709eaca7 Use CSI spec v1.5.0 2021-06-14 13:14:16 -07:00
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 24a2aa8436 Address review comments 2020-11-10 15:30:39 +00: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 8ae798a0c4 Move Hack to Client directory and update README 2020-08-17 11:38:18 +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
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