xing-yang
7930dd261d
Check error code DeadlineExceeded
2020-04-02 14:23:08 +00:00
xing-yang
aa2bc2fb9c
Remove the unnecessary driver name check
2020-04-02 14:23:08 +00:00
xing-yang
4c38cc8c6e
Remove VolumeSnapshotBeingCreated annotation after driver response
2020-04-02 14:23:08 +00:00
xing-yang
313507f866
Add AnnVolumeSnapshotBeingCreated
2020-04-02 14:23:08 +00:00
xing-yang
c82c8e0c7e
Add a check to see if PVC has a finalizer
2020-04-02 02:01:52 +00:00
xing-yang
8ae4d0c278
Check if PVC is being used by a snapshot as source
2020-04-02 01:50:19 +00:00
Christian Huffman
25b65ea8a8
Moving nil check to correct location
2020-03-19 16:21:46 -04:00
Kubernetes Prow Robot
ac3ef99c2d
Merge pull request #275 from huffmanca/update_snapshotclass_deletion
...
Allows VolumeSnapshot to be deleted if the class isn't found
2020-03-18 17:12:43 -07:00
Christian Huffman
91a55c0e13
Allows VolumeSnapshot to be deleted if the class isn't found
2020-03-18 16:54:59 -04:00
Christian Huffman
806ccc0b29
Include a nil check for the snapshotContent
2020-03-18 13:35:25 -04:00
Grant Griffiths
fe1c355fa9
Add more sidecar tests and cleanup sidecar code
...
Signed-off-by: Grant Griffiths <grant@portworx.com >
2020-03-04 20:30:45 -08:00
Grant Griffiths
9830b6ec23
Fix error check for checkandAddSnapshotFinalizers and add tests
...
Signed-off-by: Grant Griffiths <grant@portworx.com >
2020-03-04 10:48:16 -08:00
xing-yang
b154cc77e7
Add VolumeSnapshotBeingDeleted annotation to content
2020-02-28 18:10:20 +00:00
Christian Huffman
c3beea55ba
Update CRDs to include additional get information
2020-02-27 09:52:36 -05:00
Kubernetes Prow Robot
883842f48f
Merge pull request #252 from bells17/add-feature-listsnapshots-secrets2
...
Added the feature to use secrets of ListSnapshots
2020-02-20 18:28:32 -08:00
bells17
3c2baf4e96
Add comments
2020-02-21 00:44:44 +09:00
bells17
7cbcf6aa41
Fix log messages and error messages
2020-02-21 00:42:15 +09:00
bells17
8e9680affd
Modify to upper case variable name from lower case for unit tests
2020-02-20 23:13:12 +09:00
bells17
dd390a3e38
Improve error messages
2020-02-20 01:09:40 +09:00
bells17
0a1579d0f2
Add support for list secret parameters to RemovePrefixedParameters
2020-02-20 01:00:22 +09:00
bells17
2045ef16ba
Fix error message s/Delete/List/
2020-02-19 20:22:26 +09:00
bells17
401732912f
Improve error messages
2020-02-19 20:19:37 +09:00
Grant Griffiths
05efba2a30
Add more snapshot and content sync tests
...
Signed-off-by: Grant Griffiths <grant@portworx.com >
2020-02-18 14:46:39 -08:00
Grant Griffiths
7811e59803
Refactor delete test to use withSnapshotFinalizers function
...
Signed-off-by: Grant Griffiths <grant@portworx.com >
2020-02-12 15:44:54 -08:00
Grant Griffiths
13dee9bc89
Add snapshot controller delete test
...
Signed-off-by: Grant Griffiths <grant@portworx.com >
2020-02-10 14:04:28 -08:00
bells17
3b76de4999
Added the feature to use secrets of ListSnapshots
2020-02-10 11:56:47 +09:00
Alex Szakaly
fb6225dc41
fix: go module requirements for semantic versioning
...
This commit also adds the compatibility with dep (Go dependency
management tool) via symlink creation (same method applied in
kubernetes-csi/csi-test)
TODO: fix hack/update-generated-code.sh
Fixes issue #239 .
Signed-off-by: Alex Szakaly <alex.szakaly@gmail.com >
2020-01-22 09:50:01 +01:00
xing-yang
824ce7f6c5
Remove PVC finalizer when no longer in use
2020-01-03 19:57:51 +00:00
Kubernetes Prow Robot
d5804d5d21
Merge pull request #224 from xing-yang/ready_in_sidecar
...
Stop calling CreateSnapshot when ReadyToUse is true
2020-01-02 07:21:40 -08:00
saad-ali
3173a1fb35
Introduce metrics library
2019-12-30 16:37:11 -08:00
xing-yang
1ca3435c43
Check ReadyToUse in sidecar
2019-12-30 04:41:01 +00:00
xing-yang
6b179a5066
Address review comments
2019-12-24 14:42:06 +00:00
xing-yang
23bba14ef3
Address one more comment
2019-12-23 21:30:52 +00:00
xing-yang
37d5705019
Address review comments
2019-12-23 21:13:21 +00:00
xing-yang
29e69f4c67
Try to find content from store by key before searching thru the list
2019-12-23 20:13:03 +00:00
xing-yang
bf48d62ab5
Don't trigger content deletion if snapshot is nil
2019-12-23 20:13:03 +00:00
xing-yang
62d9ab547e
Address review comments
2019-12-23 20:13:03 +00:00
xing-yang
0ac299cf77
Add a function needsUpdateSnapshotStatus
2019-12-23 20:13:03 +00:00
xing-yang
f2814e5a18
Address review comments
2019-12-23 20:13:03 +00:00
xing-yang
d4350943e2
Update snapshot controller
2019-12-23 20:13:03 +00:00
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