mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 13:02:14 +00:00
Promote StorageClass e2e test to Conformance
This commit is contained in:
parent
89d822198f
commit
de244b2678
10
test/conformance/testdata/conformance.yaml
vendored
10
test/conformance/testdata/conformance.yaml
vendored
@ -3365,6 +3365,16 @@
|
|||||||
to delete the secret, the deletion must succeed.
|
to delete the secret, the deletion must succeed.
|
||||||
release: v1.21
|
release: v1.21
|
||||||
file: test/e2e/common/storage/secrets_volume.go
|
file: test/e2e/common/storage/secrets_volume.go
|
||||||
|
- testname: StorageClass, lifecycle
|
||||||
|
codename: '[sig-storage] StorageClasses CSI Conformance should run through the lifecycle
|
||||||
|
of a StorageClass [Conformance]'
|
||||||
|
description: Creating a StorageClass MUST succeed. Reading the StorageClass MUST
|
||||||
|
succeed. Patching the StorageClass MUST succeed with its new label found. Deleting
|
||||||
|
the StorageClass MUST succeed and it MUST be confirmed. Replacement StorageClass
|
||||||
|
MUST be created. Updating the StorageClass MUST succeed with its new label found.
|
||||||
|
Deleting the StorageClass via deleteCollection MUST succeed and it MUST be confirmed.
|
||||||
|
release: v1.29
|
||||||
|
file: test/e2e/storage/storageclass.go
|
||||||
- testname: 'SubPath: Reading content from a configmap volume.'
|
- testname: 'SubPath: Reading content from a configmap volume.'
|
||||||
codename: '[sig-storage] Subpath Atomic writer volumes should support subpaths with
|
codename: '[sig-storage] Subpath Atomic writer volumes should support subpaths with
|
||||||
configmap pod [Conformance]'
|
configmap pod [Conformance]'
|
||||||
|
@ -40,7 +40,17 @@ var _ = utils.SIGDescribe("StorageClasses", func() {
|
|||||||
f.NamespacePodSecurityLevel = admissionapi.LevelBaseline
|
f.NamespacePodSecurityLevel = admissionapi.LevelBaseline
|
||||||
|
|
||||||
ginkgo.Describe("CSI Conformance", func() {
|
ginkgo.Describe("CSI Conformance", func() {
|
||||||
ginkgo.It("should run through the lifecycle of a StorageClass", func(ctx context.Context) {
|
|
||||||
|
/*
|
||||||
|
Release: v1.29
|
||||||
|
Testname: StorageClass, lifecycle
|
||||||
|
Description: Creating a StorageClass MUST succeed. Reading the StorageClass MUST
|
||||||
|
succeed. Patching the StorageClass MUST succeed with its new label found. Deleting
|
||||||
|
the StorageClass MUST succeed and it MUST be confirmed. Replacement StorageClass
|
||||||
|
MUST be created. Updating the StorageClass MUST succeed with its new label found.
|
||||||
|
Deleting the StorageClass via deleteCollection MUST succeed and it MUST be confirmed.
|
||||||
|
*/
|
||||||
|
framework.ConformanceIt("should run through the lifecycle of a StorageClass", func(ctx context.Context) {
|
||||||
|
|
||||||
scClient := f.ClientSet.StorageV1().StorageClasses()
|
scClient := f.ClientSet.StorageV1().StorageClasses()
|
||||||
var initialSC, replacementSC *storagev1.StorageClass
|
var initialSC, replacementSC *storagev1.StorageClass
|
||||||
|
Loading…
Reference in New Issue
Block a user