Commit Graph

295 Commits

Author SHA1 Message Date
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
k8s-ci-robot
608b686729 Merge pull request #49 from wackxu/patch-1
fix readme deploy snapshotter command
2018-11-01 06:33:06 -07:00
XsWack
610c96bba7 fix readme deploy snapshotter command 2018-11-01 21:08:58 +08:00
k8s-ci-robot
e36d31fe15 Merge pull request #16 from xing-yang/v1_datasource
Switch to use TypedLocalObjectReference in core API
2018-10-17 10:53:21 -07:00
Xing Yang
c422fbde7c Switch to use TypedLocalObjectReference in core API 2018-10-17 10:38:17 -07:00
k8s-ci-robot
d50a9a9a66 Merge pull request #37 from xing-yang/update_version
Update vendor files to point to K8S 1.12.0
2018-10-05 08:26:55 -07: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
k8s-ci-robot
9620c4362e Merge pull request #35 from xing-yang/update_images
Update images to v0.4.0
2018-09-27 12:17:39 -07:00
Xing Yang
0ad0848963 Update images to v0.4.0
This PR updates images to v0.4.0.
2018-09-27 11:46:38 -07:00
Luis Pabón
a08db38d40 Push to Quay.io 2018-09-26 14:00:16 -04:00
k8s-ci-robot
a2f8b41c08 Merge pull request #34 from xing-yang/update_version
Update version in the Makefile
2018-09-26 20:05:08 -07:00
Luis Pabón
4fd714a9be Update OWNERS 2018-09-26 23:02:09 -04:00
Xing Yang
69118cdbff Update version in the Makefile 2018-09-26 19:32:27 -07:00
k8s-ci-robot
4fa90a4738 Merge pull request #33 from xing-yang/update_snapshotclass
Update snapshot class in the content spec
2018-09-24 14:08:16 -07:00
Xing Yang
58f71bef8c Update snapshot class in the content spec
This PR sets the snapshot class and UID in the volume snapshot
content spec if one of them is not set. This is to make sure
that snapshot class is set in the content in the case of
static binding.
2018-09-24 12:40:01 -07:00
k8s-ci-robot
6327ae5d2e Merge pull request #32 from jingxu97/contentdefaultclass
Handle the CSI driver in VolumeSnapshotContent does not match case
2018-09-21 12:52:53 -07:00
k8s-ci-robot
02306da965 Merge pull request #31 from jingxu97/readme
Add more contents to readme file
2018-09-20 20:18:39 -07:00
Jing Xu
64d036df4e Add more contents to readme file
Readme file update
2018-09-20 16:33:25 -07: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
k8s-ci-robot
5ed076f3db Merge pull request #27 from jingxu97/restoreSizetype
Fix restore size type in snapshot content
2018-09-18 12:31:49 -07:00
Jing Xu
daaee085e5 Fix restore size type in snapshot content
Change the restore size to int64 for snapshot content. Also add the code
to update the restore size for snapshot content.
2018-09-18 12:26:18 -07:00
k8s-ci-robot
564a1b95fa Merge pull request #28 from xing-yang/update_vendor_files
Update vendor files to point to kubernetes-1.12.0-beta.1
2018-09-18 10:22:22 -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
k8s-ci-robot
0021c22eec Merge pull request #17 from xing-yang/yaml
Add example yaml files for deployment and testing
2018-09-17 13:12:59 -07:00
Xing Yang
73600a6faa Add example yaml files for deployment and testing 2018-09-17 13:03:19 -07:00
k8s-ci-robot
631b9dc996 Merge pull request #20 from wackxu/clean
snapshot api types fix
2018-09-14 14:23:38 -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
Xing Yang
45b18429e2 Merge pull request #18 from nikhita/contributing.md
Add CONTRIBUTING.md
2018-09-13 13:50:24 -04:00
Xing Yang
d8bbaa8c3b Merge pull request #24 from jingxu97/updateSize
Fix updating restore size issue
2018-09-13 13:50:01 -04:00
Jing Xu
a6748068dd Fix updating restore size issue
This PR fixed the issue of not updating the snapshot restore size after
snapshot is created. Before snapshot is ready, the returned size might
not be accurate. So we need to keep updating the snapshot size during
checking the snapshot status.
2018-09-07 10:07:59 -07:00
Xing Yang
390aa39db7 Merge pull request #23 from wackxu/rmclassstore
remove class store since we donot update it in controller
2018-09-06 20:08:13 -04:00
Xing Yang
bad4c85ece Merge pull request #21 from wackxu/cleanup
cleanup remove unused code
2018-09-06 20:07:18 -04:00
xushiwei 00425595
ae2be6651e remove class store since we donot update it in controller 2018-09-06 11:08:58 +08:00
xushiwei 00425595
a33eabd3fd cleanup remove unused code 2018-09-06 10:13:38 +08:00
xushiwei 00425595
b5dff7f72f snapshot api types cleanup 2018-09-06 09:48:41 +08:00
Xing Yang
1f658f29f7 Merge pull request #12 from wackxu/snapshot_controller
Add UT for Snapshot controller
2018-09-05 13:10:44 -04:00
xushiwei 00425595
1f497d324f address comments 2018-09-03 21:05:06 +08:00
Nikhita Raghunath
9523e962f2 Add CONTRIBUTING.md 2018-09-01 18:32:19 +05:30
wackxu
8d2504ad9c add UT for snapshot controller 2018-08-30 21:32:24 +08:00
wackxu
b4d60c92a6 add test framework 2018-08-30 21:32:24 +08:00
wackxu
bd24010ed5 add UT for util.go 2018-08-30 21:32:24 +08:00
wackxu
0fa91a7df2 add UT for connection.go 2018-08-30 21:32:24 +08:00
wackxu
a2987675cf add csi-test to vendor 2018-08-30 21:32:24 +08:00
xushiwei 00425595
62551068b1 update .gitignore 2018-08-30 21:32:24 +08:00
k8s-ci-robot
234c01b3e9 Merge pull request #7 from xing-yang/snapshot_controller
Add Snapshot Controller
2018-08-29 23:41:51 -07:00
Xing Yang
17c7e1b8cf Allow new discovered error to show up 2018-08-24 16:55:57 -07:00
Xing Yang
9f3146b285 Fix error when checking and updating snapshotclass 2018-08-24 16:20:06 -07:00