130 Commits

Author SHA1 Message Date
andyzhangx
ade197cd1d fix: remove parent dir in DeleteVolume 2024-09-15 02:54:19 +00:00
mengze zhu
8dbf16b548 chore: upgrade golint version 2024-09-06 03:55:16 +00:00
andyzhangx
e0ea08453f fix: delete volume error in archive deletion mode
fix
2024-09-01 07:20:28 +00:00
andyzhangx
ab06ad33ac fix: disable archiving InternalVolumePath by default
fix
2024-08-28 11:57:59 +00:00
andyzhangx
d5de34a81f fix: archive dir error#2 2024-08-10 02:09:53 +00:00
andyzhangx
433df76e70 fix: archive dir error 2024-08-07 15:13:02 +00:00
andyzhangx
1f40750905 fix: remove stale archived volume copy before Rename 2024-05-11 03:51:25 +00:00
Michał Dulko
f5dc565f90 Bump google.golang.org/protobuf from v1.32.0 to v1.33.0
This is to address CVE-2024-24786. I also removed last reference to the
deprecated github.com/golang/protobuf so that it's an indirect import
now. I bumped its version too, as required by google.golang.org/protobuf
bump.
2024-03-07 10:32:59 +01:00
andyzhangx
96ddd193dc fix: delete volume failure in archive mode when subDir contains / 2024-02-04 15:07:20 +00:00
andyzhangx
383cb9b8be cleanup: remove unnecessary getArchivedInternalVolumePath func 2024-01-15 03:07:17 +00:00
andyzhangx
a64df6f293 fix: NodeGetVolumeStats crash
fix
2023-12-27 13:56:18 +00:00
andyzhangx
37ab622a4d fix: add locks for nodeserver publish/unpublish operations 2023-12-23 13:09:37 +00:00
andyzhangx
432a3b9cbc fix: add VolumeStats cache to avoid massive statfs calls 2023-12-05 06:51:50 +00:00
andyzhangx
cab0f64a70 fix: add VolumeStats cache to avoid massive statfs calls 2023-12-05 06:51:50 +00:00
umagnus
b89d93887d upgrade golangci/golangci-lint-action to v1.54 2023-11-20 09:05:40 +00:00
andyzhangx
5fbe7126cc test: skip archive ut on Windows 2023-11-08 14:16:09 +00:00
andyzhangx
e0c7569564 test: fix ut and add e2e test 2023-11-08 14:16:09 +00:00
Navratan Lal Gupta
e819966385 feat: archive pv subdir on delete
fix: failed to archive subdirectory: no such file or dir

fix: failed to rename archive pvc

archived-pvc-1234

fix: volume name

doc: include archive on delete in doc
2023-11-08 14:16:09 +00:00
andyzhangx
6c32316f44 chore: fix golint 2023-10-03 04:01:25 +00:00
andyzhangx
8cee28152d chore: forbid invalid parameters in snapshot storage class 2023-06-07 07:45:57 +00:00
Jan Wozniak
cb330e63c4
bugfix: correct snapshot path when using share parameter 2023-06-05 14:05:28 +02:00
Jan Wozniak
8694d47321
test: copy volume from snapshot unit tests 2023-04-03 16:05:51 +02:00
Jan Wozniak
ce66bf8a85
feat: implement volume snapshots 2023-04-03 16:05:51 +02:00
Kubernetes Prow Robot
fafa015708
Merge pull request #432 from woehrl01/ondelete_subdir
feat: provide option to retain subdir on delete
2023-04-03 00:45:51 -07:00
andyzhangx
de0393ac55 test: add ut 2023-04-03 07:00:48 +00:00
andyzhangx
53b850ec68 chore: refine onDelete sub dir feature 2023-04-02 14:14:40 +00:00
Lukas Wöhrl
226ef17d02 fix: add test for invalid ondelete param 2023-03-25 14:14:51 +01:00
Jan Wozniak
1507f51e02
test: copy volume from volume unit tests
followup to #426
2023-03-21 17:45:48 +01:00
Lukas Wöhrl
bc92ba0d8d fix 2023-03-20 23:08:46 +01:00
Lukas Wöhrl
164f97734b add option for default handling, use 'delete' as default 2023-03-20 22:24:47 +01:00
Lukas Wöhrl
9607c61390 added tests 2023-03-20 22:03:45 +01:00
Lukas Wöhrl
c6392e630c feat: provide option to retain subdir on delete 2023-03-20 21:13:57 +01:00
Kubernetes Prow Robot
cd50d48b7f
Merge pull request #426 from wozniakjan/volume_to_volume_copy
feat: volume clone from source volume
2023-03-15 09:06:17 -07:00
Jan Wozniak
784da6fa80
feat: volume copy src dir fix 2023-03-14 17:14:46 +01:00
Jan Wozniak
bfe7fe4697
feat: volume clone from source volume 2023-03-13 11:19:47 +01:00
andyzhangx
48ae4a1963 cleanup: fix golint error 2023-03-07 13:43:10 +00:00
alankan-finocomp
fb2d112824
use mkdir -p for creating subdir in mounted base-dir 2023-02-13 15:30:45 +11:00
andyzhangx
bc42fb620a test: fix ut on windows and darwin 2023-01-08 02:44:35 +00:00
andyzhangx
ba1f1acedc feat: use force unmount to fix unmount failure issie 2023-01-08 02:44:35 +00:00
andyzhangx
f19db6ef3e test: fix ut 2023-01-08 02:44:35 +00:00
andyzhangx
a1eba060ee fix: default mountPermissions issue 2022-11-17 12:07:00 +00:00
andyzhangx
a13ffed2f3 chore: fix code spelling issue 2022-08-20 09:26:46 +00:00
andyzhangx
a88b70388e test: fix gofmt 2022-08-13 13:19:22 +00:00
andyzhangx
34d0e6d84d feat: support pv/pvc metadata in subDir parameter
fix

fix
2022-06-19 11:13:47 +00:00
andyzhangx
16c442ad78 feat: add subDir in storage class parameters
fix subdir

internal mount fix

mount subdir in NodePublishVolume

fix golint

fix

fix

setKeyValueInMap
2022-06-12 11:27:44 +00:00
andyzhangx
ba1b9dd8d4 test: add IPv6 unit test 2022-05-15 06:58:34 +00:00
andyzhangx
dcd24e51e6 feat: support IPv6 server address 2022-05-15 06:54:04 +00:00
andyzhangx
d2344ce642 chore: refine bypass chmod code 2022-05-13 13:45:47 +00:00
andyzhangx
770d104c4a fix: check mount dir mode before chmod
fix
2022-05-12 13:16:43 +00:00
andyzhangx
56cc263e90 cleanup: refine mount logging 2022-05-05 11:44:36 +00:00