rootfs / snapshot

Kubernetes Volume Snapshot Controller using Custom Resource Definition
Apache License 2.0
12 stars 7 forks source link

Return snapshot status from create snapshot #20

Closed xing-yang closed 6 years ago

xing-yang commented 6 years ago

This patch adds a *[]crdv1.VolumeSnapshotCondition return parameter for the SnapshotCreate interface of the plugin. It converts the native status from the cloud provider to crdv1.VolumeSnapshotCondition so that the snapshot controller can use it directly.

Only implemented for OpenStack Cinder.