mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 01:40:13 +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.
|
||||
release: v1.19
|
||||
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
|
||||
codename: '[sig-storage] CSIStorageCapacity should support CSIStorageCapacities
|
||||
API operations [Conformance]'
|
||||
|
@ -37,8 +37,13 @@ var _ = utils.SIGDescribe("CSIInlineVolumes", func() {
|
||||
f := framework.NewDefaultFramework("csiinlinevolumes")
|
||||
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
|
||||
client := f.ClientSet.StorageV1().CSIDrivers()
|
||||
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
|
||||
client := f.ClientSet.CoreV1().Pods(f.Namespace.Name)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user