Sascha Grunert
c1d0e870f4
Replace github.com/golang/protobuf with google.golang.org/protobuf
...
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2024-12-13 11:24:58 +01:00
Kubernetes Prow Robot
2f7f755662
Merge pull request #127906 from yaroslavborbat/re-introduce-fix-mount-bind
...
Re-introduce 126599: fix: preserve options after remount for bind mounting
2024-12-12 02:57:06 +00:00
yaroslavborbat
5db88777c4
change the CapExec value to false by default
...
Signed-off-by: yaroslavborbat <yaroslav.752@gmail.com >
2024-11-11 12:23:39 +03:00
Davanum Srinivas
f74d6bc86b
Remove incorrect usage of golang.org/x/net/context
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-11-01 09:32:39 -04:00
yaroslavborbat
e2f6232258
preserve options after remount for bind mounting
...
Signed-off-by: yaroslavborbat <yaroslav.752@gmail.com >
2024-10-23 19:35:57 +03:00
Kubernetes Prow Robot
d598a3ec0f
Merge pull request #126326 from manishym/group_snapshot_e2e
...
Add end-to-end tests for Volume Group Snapshot
2024-10-08 22:58:22 +01:00
Manish
88f9f5250d
Add end-to-end tests for Volume Group Snapshot
...
This commit introduces comprehensive e2e tests for the
Volume Group Snapshot feature to ensure robust validation and functionality.
Addresses issue [kubernetes#1080 ](kubernetes-csi/external-snapshotter#1080 ).
Signed-off-by: Manish <myathnal@redhat.com >
2024-10-08 16:24:29 +05:30
Jan Safranek
02101df58f
Revert "fix test"
...
This reverts commit 62c5fd9438 .
2024-10-07 10:00:18 +02:00
Jan Safranek
5325ccd18d
Revert "replace /tmp with /var/tmp"
...
This reverts commit b3b57e53a4 .
2024-10-07 10:00:16 +02:00
yaroslavborbat
b3b57e53a4
replace /tmp with /var/tmp
...
Signed-off-by: yaroslavborbat <yaroslav.752@gmail.com >
2024-10-04 13:58:52 +03:00
yaroslavborbat
62c5fd9438
fix test
...
Signed-off-by: yaroslavborbat <yaroslav.752@gmail.com >
2024-10-03 18:39:28 +03:00
Abhishek Kr Srivastav
95860cff1c
Fix Go vet errors for master golang
...
Co-authored-by: Rajalakshmi-Girish <rajalakshmi.girish1@ibm.com >
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com >
2024-09-20 12:36:38 +05:30
Manish
1a2162fb75
Enable volume group snapshots in CSI hostpath plugin
...
This commit updates the CSI hostpath plugin configuration by adding the `--enable-volume-group-snapshots=true` argument to the container startup parameters. This change allows the CSI hostpath plugin to support volume group snapshots functionality, enhancing testing capabilities for features that require group snapshot support in end-to-end tests.
Signed-off-by: Manish <myathnal@redhat.com >
2024-09-18 07:32:13 +05:30
Hemant Kumar
de5e4963c1
Use allocatedResources as new size for finishing volume expansion
...
on the node.
Also add new tests for node only expansion modes
2024-08-14 09:24:48 -04:00
Kubernetes Prow Robot
b2799bbda7
Merge pull request #124690 from mowangdk/test/add_e2e_test_for_volume_health
...
chore: Add e2e test for NodeGetVolumeStats
2024-08-13 13:00:43 -07:00
carlory
0260c7d023
Promote VolumeAttributesClass to beta
2024-07-23 13:58:14 +08:00
mowangdk
7111e41951
Remove useless get volume stat field
2024-07-18 12:56:32 +08:00
mowangdk
28fbbeb0fc
Replace get volume stat with get volume health
2024-06-29 22:34:16 +08:00
Stephen Kitt
3f36c83c68
Switch to stretchr/testify / mockery for mocks
...
testify is used throughout the codebase; this switches mocks from
gomock to testify with the help of mockery for code generation.
Handlers and mocks in test/utils/oidc are moved to a new package:
mockery operates package by package, and requires packages to build
correctly; test/utils/oidc/testserver.go relies on the mocks and fails
to build when they are removed. Moving the interface and mocks to a
different package allows mockery to process that package without
having to build testserver.go.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2024-06-20 19:42:53 +02:00
Kubernetes Prow Robot
aeed1d0e1a
Merge pull request #124842 from carlory/honor-pv-reclaim-policy-e2e
...
Promote HonorPVReclaimPolicy to beta and enable it by default
2024-06-19 13:26:41 -07:00
carlory
4058178b8c
Promote HonorPVReclaimPolicy to beta and enable it by default
2024-06-19 13:51:37 +08:00
mowangdk
4c1a2d6851
test:Add volume condition test cases
2024-06-15 11:35:20 +08:00
Connor Catlett
ea58abfd99
Add Happy Path VolumeAttributesClass CSI E2E Tests
...
Signed-off-by: Connor Catlett <conncatl@amazon.com >
2024-06-10 20:03:54 +00:00
Humble Chirammal
35d358b53d
Update mock for ModifyVolume controller function support
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com >
2024-05-28 17:58:46 +05:30
Humble Chirammal
d8458293d2
add controllerModifyVolume test function
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com >
2024-05-27 19:57:54 +05:30
Kubernetes Prow Robot
59ba132f16
Merge pull request #124544 from carlory/remove-cephfs
...
remove the support for in-tree volume plugin cephfs
2024-05-13 14:09:52 -07:00
Kubernetes Prow Robot
c7c4039093
Merge pull request #123151 from carlory/honor-pv-reclaim-policy-e2e
...
add e2e test for HonorPVReclaimPolicy
2024-05-13 00:51:28 -07:00
mowangdk
726eeb7778
chore: Add e2e test for NodeGetVolumeStats
2024-05-11 10:49:18 +08:00
carlory
6795820cfa
remove the support for in-tree volume plugin cephfs
2024-05-10 15:00:26 +08:00
carlory
c8e91b9bc2
CephRBD volume plugin ( ) and its csi migration support were removed in this release
2024-05-09 22:55:34 +08:00
carlory
522c06b542
add e2e test for HonorPVReclaimPolicy
2024-05-09 01:19:45 +08:00
Stephen Kitt
6bf667af06
Switch from golang/mock to uber-go/mock
...
See https://github.com/golang/mock#gomock : golang/mock is no longer
maintained, and should be replaced by go.uber.org/mock.
This allows golang/mock to be dropped from the status and vendored
fields in unwanted-dependencies.json.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2024-03-07 09:12:16 +01:00
Tim Hockin
b725fd20c2
Fix update/verify-mocks.sh
...
There appears to be a bug in `go generate` for workspaces which will be
fixed in the 1.22.1 release.
2024-02-29 22:06:00 -08:00
Davanum Srinivas
aaa9b6ebd7
Fix NFS related issues on GCP/Ubuntu
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-02-21 21:36:54 -05:00
carlory
31c86e38ac
Update in-tree azureDisk and azureFile tests
2024-02-04 18:29:02 +08:00
Jan Safranek
67926c3777
Update in-tree vSphere tests
...
Don't implement interfaces that trigger tests with in-line and
pre-provisioned vSphere volumes.
With cloud provider removal, the in-tree vSphere tests won't be able to
create a volume in vSphere and thus test in-line volumes in Pods and
pre-provisioned PVs. Only dynamically provisioned volumes can be used for
testing, because they're provisioned by the vSphere CSI driver.
2024-01-31 10:12:20 +01:00
Davanum Srinivas
65d67101e7
Drop vsphere cloud provider
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-01-23 19:57:01 -05:00
Kubernetes Prow Robot
f49d2950cb
Merge pull request #121259 from borg-land/skip-deploying-gce-pd-csi
...
Skip deploying gce-pd csi driver if it is already installed
2023-12-14 23:22:33 +01:00
Patrick Ohly
27afb7d75d
e2e storage: use framework to tag tests
...
This makes it possible to select tests through `ginkgo --label-filter`
also for the custom labels.
2023-10-23 17:32:06 +02:00
upodroid
e69a960792
skip deploying csi driver if it is already installed
2023-10-16 12:32:27 +01:00
Fabio Bertinatto
eb109e3948
e2e: bootstrap vsphere tests earlier
2023-09-21 16:19:37 -03:00
Jan Safranek
75cf25c0e7
iscsi: use dbus from the host
...
When running iscsi test, use dbus socket from the host. targetcli uses the
socket for synchronization.
Recent Fedoras can run dbus only via systemd, which is cumbersome here.
2023-06-12 15:45:19 +02:00
Humble Chirammal
36f0caf7ec
remove GlusterFS references from test/e2e/* comments/descriptions
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com >
2023-05-17 17:40:28 +05:30
Hemant Kumar
901dea7307
Fix azure disk e2e after migration
2023-04-11 15:02:25 -04:00
zhucan
80ff4b90a5
e2e: test for node expand volume with secrets failed
...
Signed-off-by: zhucan <zhucan.k8s@gmail.com >
2023-03-14 21:12:31 +08:00
Kubernetes Prow Robot
6612af0af0
Merge pull request #110304 from RomanBednar/resize-e2e
...
add e2e test for correct resizing of a snaphot restore
2023-03-13 22:27:08 -07:00
Kubernetes Prow Robot
499a03d88b
Merge pull request #115451 from zhucan/nodeexpandvolume-secret-e2e
...
e2e: add e2e test to node expand volume with secret
2023-03-08 07:53:12 -08:00
zhucan
7a87b4363b
e2e: add e2e test to node expand volume with secret
...
Signed-off-by: zhucan <zhucan.k8s@gmail.com >
2023-03-08 10:27:50 +08:00
torredil
6aebda9b1e
Remove AWS legacy cloud provider + EBS in-tree storage plugin
...
Signed-off-by: torredil <torredil@amazon.com >
2023-03-06 14:01:15 +00:00
Roman Bednar
7484c69a16
add e2e test for snapshot restore resizing
2023-02-27 10:47:02 +01:00