mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #88036 from ii/promote-podtemplate-lifecycle
Promote: PodTemplate Lifecycle test - +3 conformance endpoint coverage
This commit is contained in:
commit
3072d1e22e
8
test/conformance/testdata/conformance.yaml
vendored
8
test/conformance/testdata/conformance.yaml
vendored
@ -1735,6 +1735,14 @@
|
|||||||
visible at runtime in the container.
|
visible at runtime in the container.
|
||||||
release: v1.9
|
release: v1.9
|
||||||
file: test/e2e/common/downward_api.go
|
file: test/e2e/common/downward_api.go
|
||||||
|
- testname: PodTemplate lifecycle
|
||||||
|
codename: '[sig-node] PodTemplates should run the lifecycle of PodTemplates [Conformance]'
|
||||||
|
description: Attempt to create a PodTemplate. Patch the created PodTemplate. Fetching
|
||||||
|
the PodTemplate MUST reflect changes. By fetching all the PodTemplates via a Label
|
||||||
|
selector it MUST find the PodTemplate by it's static label and updated value.
|
||||||
|
The PodTemplate must be deleted.
|
||||||
|
release: v1.19
|
||||||
|
file: test/e2e/common/podtemplates.go
|
||||||
- testname: LimitRange, resources
|
- testname: LimitRange, resources
|
||||||
codename: '[sig-scheduling] LimitRange should create a LimitRange with defaults
|
codename: '[sig-scheduling] LimitRange should create a LimitRange with defaults
|
||||||
and ensure pod has those defaults applied. [Conformance]'
|
and ensure pod has those defaults applied. [Conformance]'
|
||||||
|
@ -29,10 +29,15 @@ import (
|
|||||||
"github.com/onsi/ginkgo"
|
"github.com/onsi/ginkgo"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ = ginkgo.Describe("[sig-architecture] PodTemplates", func() {
|
var _ = ginkgo.Describe("[sig-node] PodTemplates", func() {
|
||||||
f := framework.NewDefaultFramework("podtemplate")
|
f := framework.NewDefaultFramework("podtemplate")
|
||||||
|
/*
|
||||||
ginkgo.It("should run the lifecycle of PodTemplates", func() {
|
Release : v1.19
|
||||||
|
Testname: PodTemplate lifecycle
|
||||||
|
Description: Attempt to create a PodTemplate. Patch the created PodTemplate. Fetching the PodTemplate MUST reflect changes.
|
||||||
|
By fetching all the PodTemplates via a Label selector it MUST find the PodTemplate by it's static label and updated value. The PodTemplate must be deleted.
|
||||||
|
*/
|
||||||
|
framework.ConformanceIt("should run the lifecycle of PodTemplates", func() {
|
||||||
testNamespaceName := f.Namespace.Name
|
testNamespaceName := f.Namespace.Name
|
||||||
podTemplateName := "nginx-pod-template-" + string(uuid.NewUUID())
|
podTemplateName := "nginx-pod-template-" + string(uuid.NewUUID())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user