Commit Graph

12 Commits

Author SHA1 Message Date
Jan Safranek
73f72bd7b6 Fix panic when source PVC does not exist
checkAndUpdateSnapshotClass must always return a snapshot, even though it
fails somewhere in ctrl.SetDefaultSnapshotClass.

Add unit tests for that.
2020-09-29 14:53:48 +02:00
xing-yang
a2ac03c740 Update to v3 2020-09-08 21:25:47 +00:00
kartik494
ae215218d1 Added go modules for Apis and Client 2020-07-29 16:52:45 +05:30
Christian Huffman
ffaeac1515 Move to klogv2 2020-07-27 14:39:56 -04:00
xing-yang
5800df6a61 Fix requeue logic in the common controller 2020-06-25 03:37:40 +00:00
Christian Huffman
91a55c0e13 Allows VolumeSnapshot to be deleted if the class isn't found 2020-03-18 16:54:59 -04:00
Alex Szakaly
fb6225dc41 fix: go module requirements for semantic versioning
This commit also adds the compatibility with dep (Go dependency
management tool) via symlink creation (same method applied in
kubernetes-csi/csi-test)

TODO: fix hack/update-generated-code.sh

Fixes issue #239.

Signed-off-by: Alex Szakaly <alex.szakaly@gmail.com>
2020-01-22 09:50:01 +01:00
xing-yang
0dd03c93fb Add original retries back 2019-12-20 02:35:54 +00:00
xing-yang
c5d6e8163f Removed snapshotQueue.AddRateLimited 2019-12-19 21:31:12 +00:00
xing-yang
10017c2bdc Add snapshot back to queue 2019-12-18 21:49:05 +00:00
xing-yang
60c696c7c7 Remove createSnapshotContentRetryCount and createSnapshotContentInterval
from command line options
2019-12-18 02:54:15 +00:00
xing-yang
6308420635 Split snapshot controller using beta APIs 2019-11-07 16:49:41 +00:00