mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
Merge pull request #120552 from ii/promote-pv-pvc-lifecycle-test
Promote e2e test for PersistentVolume & PersistentVolumeClaim Endpoints + 13 Endpoints
This commit is contained in:
commit
81ac3f9e2e
13
test/conformance/testdata/conformance.yaml
vendored
13
test/conformance/testdata/conformance.yaml
vendored
@ -2967,6 +2967,19 @@
|
|||||||
able to start with Secret and ConfigMap volumes mounted into the container.
|
able to start with Secret and ConfigMap volumes mounted into the container.
|
||||||
release: v1.13
|
release: v1.13
|
||||||
file: test/e2e/storage/empty_dir_wrapper.go
|
file: test/e2e/storage/empty_dir_wrapper.go
|
||||||
|
- testname: PersistentVolumes(Claims), lifecycle
|
||||||
|
codename: '[sig-storage] PersistentVolumes CSI Conformance should run through the
|
||||||
|
lifecycle of a PV and a PVC [Conformance]'
|
||||||
|
description: Creating PV and PVC MUST succeed. Listing PVs with a labelSelector
|
||||||
|
MUST succeed. Listing PVCs in a namespace MUST succeed. Patching a PV MUST succeed
|
||||||
|
with its new label found. Patching a PVC MUST succeed with its new label found.
|
||||||
|
Reading a PV and PVC MUST succeed with required UID retrieved. Deleting a PVC
|
||||||
|
and PV MUST succeed and it MUST be confirmed. Replacement PV and PVC MUST be created.
|
||||||
|
Updating a PV MUST succeed with its new label found. Updating a PVC MUST succeed
|
||||||
|
with its new label found. Deleting the PVC and PV via deleteCollection MUST succeed
|
||||||
|
and it MUST be confirmed.
|
||||||
|
release: v1.29
|
||||||
|
file: test/e2e/storage/persistent_volumes.go
|
||||||
- testname: Projected Volume, multiple projections
|
- testname: Projected Volume, multiple projections
|
||||||
codename: '[sig-storage] Projected combined should project all components that make
|
codename: '[sig-storage] Projected combined should project all components that make
|
||||||
up the projection API [Projection][NodeConformance] [Conformance]'
|
up the projection API [Projection][NodeConformance] [Conformance]'
|
||||||
|
@ -393,7 +393,19 @@ var _ = utils.SIGDescribe("PersistentVolumes", func() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
ginkgo.It("should run through the lifecycle of a PV and a PVC", func(ctx context.Context) {
|
/*
|
||||||
|
Release: v1.29
|
||||||
|
Testname: PersistentVolumes(Claims), lifecycle
|
||||||
|
Description: Creating PV and PVC MUST succeed. Listing PVs with a labelSelector
|
||||||
|
MUST succeed. Listing PVCs in a namespace MUST succeed. Patching a PV MUST succeed
|
||||||
|
with its new label found. Patching a PVC MUST succeed with its new label found.
|
||||||
|
Reading a PV and PVC MUST succeed with required UID retrieved. Deleting a PVC
|
||||||
|
and PV MUST succeed and it MUST be confirmed. Replacement PV and PVC MUST be created.
|
||||||
|
Updating a PV MUST succeed with its new label found. Updating a PVC MUST succeed
|
||||||
|
with its new label found. Deleting the PVC and PV via deleteCollection MUST succeed
|
||||||
|
and it MUST be confirmed.
|
||||||
|
*/
|
||||||
|
framework.ConformanceIt("should run through the lifecycle of a PV and a PVC", func(ctx context.Context) {
|
||||||
|
|
||||||
pvClient := c.CoreV1().PersistentVolumes()
|
pvClient := c.CoreV1().PersistentVolumes()
|
||||||
pvcClient := c.CoreV1().PersistentVolumeClaims(ns)
|
pvcClient := c.CoreV1().PersistentVolumeClaims(ns)
|
||||||
|
Loading…
Reference in New Issue
Block a user