Commit Graph

178 Commits

Author SHA1 Message Date
k8s-ci-robot
840095d4b0 Merge pull request #39 from xing-yang/content_protect
Add Finalizer for VolumeSnapshot and VolumeSnapshotContent
2018-11-27 10:59:58 -08:00
Xing Yang
ea17039454 Add Finalizer for VolumeSnapshot/VolumeSnapshotContent
This PR adds a Finalizer for VolumeSnapshotContent.
If the VolumeSnapshotContent is bound to a VolumeSnapshot,
the VolumeSnapshotContent is being used and cannot be
deleted.
This PR also adds a Finalizer for VolumeSnapshot.
If a volume is being created from the snapshot,
the VolumeSnapshot is being used and cannot be deleted.
2018-11-27 10:35:44 -08:00
k8s-ci-robot
6089ba3f31 Merge pull request #71 from xing-yang/ReadyToUse
Rename Ready to ReadyToUse
2018-11-27 10:06:30 -08:00
xushiwei
e4997e5fb8 add pvcLister to snapshot controller 2018-11-27 21:43:09 +08:00
Xing Yang
bfba4cba0f Rename Ready to ReadyToUse
This PR renames Ready to ReadyToUse in VolumeSnapshot Status
to be consistent with the name in CSI spec.
2018-11-26 19:21:43 -08:00
XsWack
3c25a174bd add myself as approver for snapshotter 2018-11-22 17:30:53 +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
k8s-ci-robot
6341e4cad3 Merge pull request #67 from wackxu/fixut
fix fail UT
2018-11-20 11:23:54 -08:00
xushiwei
89a64c9b92 fix fail UT 2018-11-20 20:54:07 +08:00
Xing Yang
806104ca1d Merge pull request #66 from xing-yang/update_yaml
Update images to v1.0.0 in yaml file
2018-11-20 10:26:03 +08:00
Xing Yang
11f716f6ee Update images to v1.0.0 in yaml file
This PR updates the images to v1.0.0 in example yaml files.
2018-11-19 17:58:26 -08:00
k8s-ci-robot
db31474324 Merge pull request #40 from jingxu97/deletionpolicy
Add volumesnapshot content deletion policy
2018-11-19 17:54:12 -08:00
Jing Xu
96e3bd1818 Add volumesnapshot content deletion policy
This PR adds DeletionPolicy which describes a policy for end-of-life maintenance of volume snapshot contents.
There are two types of policies, delete and retain. By default, the
policy is delete. In this case, when volume snaphsot is deleted, the
volume snapshot content for it should be deleted, as well as the
physical snapshot. If the policy is set the retain, the volume snapshot
content will remain even if the volume snapshot it binds to is deleted.
2018-11-19 17:15:07 -08:00
Jing Xu
7a374a3838 Generated files
This comment includes the generated file changes.
2018-11-19 17:04:42 -08:00
k8s-ci-robot
30701bb0d5 Merge pull request #65 from xing-yang/content_name
Use existing content name
2018-11-19 15:31:41 -08:00
Xing Yang
fddc5547f3 Use existing content name
If content name is already in snapshot object, just use it.
This may be the case for static provisioning. Otherwise construct
new name for content for dynamic provisioning.
2018-11-19 15:20:57 -08:00
k8s-ci-robot
799fb952e1 Merge pull request #61 from xing-yang/csi_snapshot_status
Call CreateSnapshot to check if snapshot is processed
2018-11-19 15:07:28 -08:00
k8s-ci-robot
33190f0890 Merge pull request #64 from verult/k8s-1.13.0-beta.1
Bumping k8s version to 1.13.0-beta.1
2018-11-19 14:39:34 -08:00
Cheng Xing
e2f1bdc372 Bumping k8s version to 1.13.0-beta.1 2018-11-19 14:13:47 -08:00
Xing Yang
c01fb649f2 Call CreateSnapshot to check if snapshot is processed
This PR calls CreateSnapshot to check if the snapshot post-cut
processing (uploading) is complete and update status accordingly.
2018-11-19 13:02:21 -08:00
k8s-ci-robot
01bd7f356e Merge pull request #59 from verult/k8s-1.13
Bumping k8s dependencies to 1.13
2018-11-16 15:25:12 -08:00
Cheng Xing
06b4d4ec0d Updating generated API clients 2018-11-16 14:30:00 -08:00
Cheng Xing
b4c0b68ec7 Bumping k8s dependencies to 1.13 2018-11-16 14:09:40 -08:00
k8s-ci-robot
305407125c Merge pull request #56 from wackxu/fixrole
fix RABC rule
2018-11-16 05:12:45 -08:00
k8s-ci-robot
9dd10391b4 Merge pull request #58 from msau42/spec-1.0
Breaking change: Update snapshotter to use CSI spec 1.0
2018-11-14 17:07:35 -08:00
Michelle Au
0decedb0fa Update unit tests and disable broken status unit tests 2018-11-14 16:54:28 -08:00
Michelle Au
83c8c05a4a Update snapshotter to use CSI spec 1.0. This breaks the snapshot handling of error and uploading status 2018-11-14 16:54:28 -08:00
Michelle Au
9be7a7dd24 Update vendor csi spec and csi-test to 1.0.0-rc2 2018-11-14 16:54:21 -08:00
Michelle Au
92f87c14e7 Update csi/v0 import to csi/ 2018-11-14 13:25:09 -08:00
xushiwei
137ac8a6fb fix RABC rule 2018-11-13 16:11:04 +08:00
k8s-ci-robot
06139e4cd6 Merge pull request #51 from wackxu/fix
[clean up]fix some comment typo
2018-11-08 08:28:51 -08:00
k8s-ci-robot
51482343dc Merge pull request #53 from pohly/rbac-rules
deploy: split out RBAC definitions
2018-11-06 07:57:35 -08:00
Patrick Ohly
d0dde33ecf deploy: split out RBAC definitions
Splitting out the RBAC definitions into a separate file has the
advantage that it can be used as-is without editing in other
deployments. For example, the kubernetes-csi/docs example can
use this rbac.yaml file instead of a local copy.

While at it, the upstream external-provisioner RBAC file gets used,
which fixes the too broad permissions for "endpoints".
2018-11-06 12:51:35 +01: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
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