Commit Graph

14 Commits

Author SHA1 Message Date
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
zhucan
26f95af09c fix TODO use time.Time for createSnapshot & solute conflict 2019-04-30 16:39:12 +08:00
Andrew Kim
06a4bf2a05 refactor external snapshotter to use csi-lib-utils/rpc 2019-04-01 14:40:11 -04:00
Humble Chirammal
164d10a824 Update exported function details with source code comments.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-06 19:09:51 +05:30
Xing Yang
0cf36adb91 Add new reserved prefixed parameter keys
This PR adds new reserved prefixed parameter keys which are stripped
out of parameter list, and adds deprecation notice for old keys and
keep their behavior the same.

```
csiParameterPrefix = "csi.storage.k8s.io/"
prefixedSnapshotterSecretNameKey      = csiParameterPrefix + "snapshotter-secret-name"
prefixedSnapshotterSecretNamespaceKey = csiParameterPrefix + "snapshotter-secret-namespace"
```
2018-12-03 17:38:53 -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
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
92f87c14e7 Update csi/v0 import to csi/ 2018-11-14 13:25:09 -08: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
84fc75e615 Modify controller to use resource.Quantity as size 2018-08-19 20:09:25 -07:00
Xing Yang
1ee6dd2c21 Address review comments in controller 2018-08-15 20:56:14 -07:00
xing-yang
2c3b68f52b Handle Secrets in DeleteSnapshot
This PR handles secrets at DeleteSnapshot time.
2018-08-14 19:07:54 -07:00
xing-yang
8a08d423c4 Handle Secrets in CreateSnapshot
This PR adds handling for Secrets in CreateSnapshot.
2018-08-14 13:11:22 -07:00
xing-yang
2663b1351f Add Snapshot Controller
This PR adds external snapshot controller and main package under cmd.
2018-08-14 13:11:22 -07:00