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
Andrew Kim
06a4bf2a05
refactor external snapshotter to use csi-lib-utils/rpc
2019-04-01 14:40:11 -04:00
Humble Chirammal
eb2dd437c1
Migrate to k8s.io/klog from glog.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-03-26 19:10:24 +05:30
Michelle Au
08e735383b
Use events V1 API
2019-03-11 11:17:00 -07:00
xushiwei
85504e1220
add pvcLister to snapshot controller
...
This reverts commit 96b6f495d3
.
2018-11-30 17:19:47 +08:00
Xing Yang
96b6f495d3
Revert "add pvcLister to snapshot controller"
2018-11-27 19:38:09 -05:00
xushiwei
e4997e5fb8
add pvcLister to snapshot controller
2018-11-27 21:43:09 +08:00
k8s-ci-robot
2840dd887f
Merge pull request #50 from wackxu/patch-1
...
fix WaitForCacheSync and initializeCaches bug
2018-11-20 11:25:55 -08:00
xushiwei
69335b15e7
fix some comment typo
2018-11-02 17:09:55 +08:00
xushiwei
a32313cccb
fix initializeCaches bug
2018-11-02 14:54:48 +08:00
XsWack
7fdc9ddbbe
Add classListerSynced for WaitForCacheSync
2018-11-02 14:54:48 +08:00
Jing Xu
c401b2331c
Handle the CSI driver in VolumeSnapshotContent does not match case
...
In VolumeSnapshotContent, if the CSI driver does not match the plugin's,
the controller should skip this content instead of always processing it.
This PR also add a few tests related to snapshot and content static
binding.
During binding, if content specify its bound snapshot uid and it
does not match the snapshot's uid, the content object and also the
physical snapshot will be deleted. In this case, the controller will
treat the content as an orphan content because its snapshot object does
not exist (deleted) any more.
2018-09-20 15:21:18 -07:00
Xing Yang
8f65bb7f16
Merge pull request #25 from jingxu97/eventscheme
...
Add event scheme
2018-09-13 14:54:41 -04:00
Jing Xu
2141247565
Add event scheme
...
This PR adds the event scheme
2018-09-13 11:37:06 -07:00
xushiwei 00425595
ae2be6651e
remove class store since we donot update it in controller
2018-09-06 11:08:58 +08:00
Xing Yang
9f3146b285
Fix error when checking and updating snapshotclass
2018-08-24 16:20:06 -07:00
Xing Yang
25be5fdffc
shouldProcessSnapshot should return *VolumeSnapshot
...
Also rename shouldProcessSnapshot to checkAndUpdateSnapshotClass.
2018-08-24 07:01:29 -07:00
Xing Yang
a9dd5c8ff3
Address review comments
2018-08-23 12:17:01 -07:00
Xing Yang
7140b77f2b
Change controller to use VolumeSnapshotClassName as pointer
2018-08-22 21:18:08 -07:00
Xing Yang
d95ff46ce1
Split GetClassFromVolumeSnapshot to two functions
...
This commit splits GetClassFromVolumeSnapshot to two functions,
GetSnapshotClass and SetDefaultSnapshotClass.
2018-08-22 13:41:32 -07:00
Xing Yang
bfb7c69014
Set VolumeSnapshotClass in checkandBindSnapshotContent
...
go fmt fixes, detailed logging level, other small fixes
2018-08-19 09:10:21 -07:00
Jing Xu
870fd8ec8c
Handle snapshot error, get default storage class, and other small
...
changes
2018-08-17 14:19:40 -07:00
Xing Yang
1ee6dd2c21
Address review comments in controller
2018-08-15 20:56:14 -07:00
Xing Yang
afd80c565c
Add review comments in cmd and controller
2018-08-14 21:44:30 -07:00