Grant Griffiths
33c896f6ff
Update common controller tests after split controller
...
Signed-off-by: Grant Griffiths <grant@portworx.com >
2019-12-23 10:00:02 -08:00
Kubernetes Prow Robot
bba358438a
Merge pull request #218 from ggriffiths/fix_errshadow_update_snapshotstatus
...
Fix err shadow in updateSnapshotStatus and add retry delay
2019-12-20 10:01:33 -08:00
Grant Griffiths
b5f2165795
Fix err shadow in updateSnapshotStatus and add retry delay
...
Signed-off-by: Grant Griffiths <grant@portworx.com >
2019-12-20 09:47:42 -08:00
xing-yang
0dd03c93fb
Add original retries back
2019-12-20 02:35:54 +00:00
xing-yang
c5d6e8163f
Removed snapshotQueue.AddRateLimited
2019-12-19 21:31:12 +00:00
xing-yang
10017c2bdc
Add snapshot back to queue
2019-12-18 21:49:05 +00:00
xing-yang
60c696c7c7
Remove createSnapshotContentRetryCount and createSnapshotContentInterval
...
from command line options
2019-12-18 02:54:15 +00:00
Kubernetes Prow Robot
ed82822421
Merge pull request #210 from yuxiangqian/sidecar
...
sidecar controller update, fix potential snapshot leaking
2019-12-17 18:03:57 -08:00
xiangqian
b747de45c5
sidecar controller update, fix potential snapshot leaking
...
resolve comments
2019-12-17 15:17:31 -08:00
Nolan Brubaker
0a57046ea8
Add tests for shouldDelete function
...
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2019-12-13 13:06:52 -05:00
xiangqian
728e29aa7e
1. update clientset, deepcopy using code-generator
...
2. add a dummy file tools.go to force "go mod vendor" to see
code-generator as dependencies
3. add a script to update CRD
4. add a README to document CRD updating steps
run go mod tidy
update README
2019-12-04 14:40:46 -08:00
Gábor Lipták
a91ebff2e0
Correct typo
2019-11-27 07:43:50 -05:00
Gábor Lipták
8542d1fc7a
Correct typo
2019-11-14 09:38:41 -05:00
Grant Griffiths
e4e2f3b44b
Cleanup framework_test comments and old code
...
Signed-off-by: Grant Griffiths <grant@portworx.com >
2019-11-08 16:28:57 -08:00
Grant Griffiths
2ac906d13f
Add sidecar-controller unit tests
...
Signed-off-by: Grant Griffiths <grant@portworx.com >
2019-11-08 13:39:33 -08:00
xing-yang
9000e9c846
Address review comments
2019-11-08 02:46:17 +00:00
xing-yang
6308420635
Split snapshot controller using beta APIs
2019-11-07 16:49:41 +00:00
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
xing-yang
712a3341d9
Verify PV/PVC binding and driver
2019-10-08 04:18:38 +00:00
Xing Yang
e647a80298
Add deletion secret as annotation to content
2019-09-04 20:00:47 -07:00
Grant Griffiths
ea5d2d6089
Check if ListSnapshots is supported during GetSnapshotStatus
2019-07-11 12:24:48 -07:00
zhucan
4f8220979c
run 'make -k all test' failed
2019-05-14 18:41:19 +08:00
zhucan
10d6437d60
Merge branch 'master' into status-52
2019-05-14 18:26:07 +08:00
Kubernetes Prow Robot
567d14c09c
Merge pull request #123 from xing-yang/fake
...
Add groupName in doc.go when generating files
2019-05-10 14:32:13 -07:00
Kubernetes Prow Robot
3c03339d2d
Merge pull request #119 from zhucan/68
...
fix TODO use time.Time for createSnapshot & solute conflict
2019-05-09 14:02:50 -07:00
Xing Yang
e49856eb41
Add groupName in doc.go when generating files
2019-05-09 13:40:40 -07:00
zhucan
51a8bd87ea
add status subresources for volumeSnapshot & solute conflict
2019-05-07 14:08:37 +08:00
zhucan
26f95af09c
fix TODO use time.Time for createSnapshot & solute conflict
2019-04-30 16:39:12 +08:00
Xing Yang
603855fc1b
Add Delete Volume Finalizer
...
This PR adds Finalizer on the snapshot source PVC to prevent it
from being deleted when a snapshot is being created from it.
2019-04-26 20:05:05 -07:00
Kubernetes Prow Robot
3d4db44c04
Merge pull request #104 from oleksiys/master
...
Use discovered storageclassName to look up the storage class
2019-04-16 18:44:03 -07:00
Andrew Kim
06a4bf2a05
refactor external snapshotter to use csi-lib-utils/rpc
2019-04-01 14:40:11 -04:00
Hakan Memisoglu
2fcfc8be28
Improve the logs
2019-03-27 19:48:25 -07:00
Hakan Memisoglu
d6c5d512c6
Add test for prebound case
2019-03-27 19:42:46 -07:00
Hakan Memisoglu
c424e68cef
Fix for pre-bound snapshot empty source error
2019-03-27 19:37:28 -07:00
Humble Chirammal
eb2dd437c1
Migrate to k8s.io/klog from glog.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-03-26 19:10:24 +05:30
oleksiys
00a501deb9
Use discovered storageclassName to look up the storage class.
2019-03-14 16:59:28 -07:00
Michelle Au
08e735383b
Use events V1 API
2019-03-11 11:17:00 -07:00
Andrew Kim
0da03b3210
external-snapshotter should use CSI connection lib
2019-02-13 22:42:05 -05:00
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
Kubernetes Prow Robot
7d3b3ec1af
Merge pull request #82 from humblec/clean-2
...
Update exported function details with source code comments.
2019-01-06 06:12:18 -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
6a4dfa47e5
Fix error formatting in snapshot controller.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-01-06 14:53:24 +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
Kubernetes Prow Robot
9708a1b090
Merge pull request #75 from wackxu/pvclister
...
add pvcLister to snapshot controller
2019-01-02 07:17:24 -08:00
Kubernetes Prow Robot
1e1a432d5e
Merge pull request #78 from xing-yang/csi_secret
...
Add new reserved prefixed parameter keys
2018-12-04 00:52:54 -08:00
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
Michelle Au
097a4b897c
use protosanitizer library
2018-11-30 13:29:40 -08:00
xushiwei
85504e1220
add pvcLister to snapshot controller
...
This reverts commit 96b6f495d3
.
2018-11-30 17:19:47 +08:00