Commit Graph

13 Commits

Author SHA1 Message Date
Patrick Ohly
054c612f6b release tools
This synchronizes the build rules with other repos and (as part of
that) bumps the Go version to 1.11.1. The recommended formatting
changed slightly in that Go version.
2019-01-24 17:30:10 +01:00
Kubernetes Prow Robot
a7c6dec2ac Merge pull request #81 from humblec/clean
Correct error variables and fix other golint errors.
2019-01-06 06:13:53 -08:00
Humble Chirammal
546cafabdc Remove redundant else blocks
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-06 19:23:42 +05:30
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
Humble Chirammal
0e4d11b0fb Correct error variables and fix other golint errors.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-06 14:31:02 +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
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
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
wackxu
bd24010ed5 add UT for util.go 2018-08-30 21:32:24 +08: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