mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Merge pull request #111724 from dobsonj/csi-inline-conformance-tests
CSI Inline Volumes: promote API tests to conformance
This commit is contained in:
commit
fbde6ab05c
14
test/conformance/testdata/conformance.yaml
vendored
14
test/conformance/testdata/conformance.yaml
vendored
@ -2472,6 +2472,20 @@
|
|||||||
pod.
|
pod.
|
||||||
release: v1.19
|
release: v1.19
|
||||||
file: test/e2e/scheduling/preemption.go
|
file: test/e2e/scheduling/preemption.go
|
||||||
|
- testname: CSIInlineVolumes should support Pods with inline volumes
|
||||||
|
codename: '[sig-storage] CSIInlineVolumes should support CSIVolumeSource in Pod
|
||||||
|
API [Conformance]'
|
||||||
|
description: Pod resources with CSIVolumeSource should support create, get, list,
|
||||||
|
patch, and delete operations.
|
||||||
|
release: v1.26
|
||||||
|
file: test/e2e/storage/csi_inline.go
|
||||||
|
- testname: CSIInlineVolumes should support ephemeral CSIDrivers
|
||||||
|
codename: '[sig-storage] CSIInlineVolumes should support ephemeral VolumeLifecycleMode
|
||||||
|
in CSIDriver API [Conformance]'
|
||||||
|
description: CSIDriver resources with ephemeral VolumeLifecycleMode should support
|
||||||
|
create, get, list, and delete operations.
|
||||||
|
release: v1.26
|
||||||
|
file: test/e2e/storage/csi_inline.go
|
||||||
- testname: CSIStorageCapacity API
|
- testname: CSIStorageCapacity API
|
||||||
codename: '[sig-storage] CSIStorageCapacity should support CSIStorageCapacities
|
codename: '[sig-storage] CSIStorageCapacity should support CSIStorageCapacities
|
||||||
API operations [Conformance]'
|
API operations [Conformance]'
|
||||||
|
@ -37,8 +37,13 @@ var _ = utils.SIGDescribe("CSIInlineVolumes", func() {
|
|||||||
f := framework.NewDefaultFramework("csiinlinevolumes")
|
f := framework.NewDefaultFramework("csiinlinevolumes")
|
||||||
f.NamespacePodSecurityEnforceLevel = admissionapi.LevelPrivileged
|
f.NamespacePodSecurityEnforceLevel = admissionapi.LevelPrivileged
|
||||||
|
|
||||||
// TODO: promote to framework.ConformanceIt
|
/*
|
||||||
ginkgo.It("should support ephemeral VolumeLifecycleMode in CSIDriver API", func() {
|
Release: v1.26
|
||||||
|
Testname: CSIInlineVolumes should support ephemeral CSIDrivers
|
||||||
|
Description: CSIDriver resources with ephemeral VolumeLifecycleMode
|
||||||
|
should support create, get, list, and delete operations.
|
||||||
|
*/
|
||||||
|
framework.ConformanceIt("should support ephemeral VolumeLifecycleMode in CSIDriver API", func() {
|
||||||
// Create client
|
// Create client
|
||||||
client := f.ClientSet.StorageV1().CSIDrivers()
|
client := f.ClientSet.StorageV1().CSIDrivers()
|
||||||
defaultFSGroupPolicy := storagev1.ReadWriteOnceWithFSTypeFSGroupPolicy
|
defaultFSGroupPolicy := storagev1.ReadWriteOnceWithFSTypeFSGroupPolicy
|
||||||
@ -117,8 +122,13 @@ var _ = utils.SIGDescribe("CSIInlineVolumes", func() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
// TODO: promote to framework.ConformanceIt
|
/*
|
||||||
ginkgo.It("should support CSIVolumeSource in Pod API", func() {
|
Release: v1.26
|
||||||
|
Testname: CSIInlineVolumes should support Pods with inline volumes
|
||||||
|
Description: Pod resources with CSIVolumeSource should support
|
||||||
|
create, get, list, patch, and delete operations.
|
||||||
|
*/
|
||||||
|
framework.ConformanceIt("should support CSIVolumeSource in Pod API", func() {
|
||||||
// Create client
|
// Create client
|
||||||
client := f.ClientSet.CoreV1().Pods(f.Namespace.Name)
|
client := f.ClientSet.CoreV1().Pods(f.Namespace.Name)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user