mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Promote Ephemeral Containers e2e test to Conformance
This commit is contained in:
parent
f88f76f444
commit
14ee775215
7
test/conformance/testdata/conformance.yaml
vendored
7
test/conformance/testdata/conformance.yaml
vendored
@ -1842,6 +1842,13 @@
|
|||||||
visible at runtime in the container.
|
visible at runtime in the container.
|
||||||
release: v1.9
|
release: v1.9
|
||||||
file: test/e2e/common/node/downwardapi.go
|
file: test/e2e/common/node/downwardapi.go
|
||||||
|
- testname: Ephemeral Container Creation
|
||||||
|
codename: '[sig-node] Ephemeral Containers [NodeConformance] will start an ephemeral
|
||||||
|
container in an existing pod [Conformance]'
|
||||||
|
description: Adding an ephemeral container to pod.spec MUST result in the container
|
||||||
|
running.
|
||||||
|
release: "1.25"
|
||||||
|
file: test/e2e/common/node/ephemeral_containers.go
|
||||||
- testname: init-container-starts-app-restartalways-pod
|
- testname: init-container-starts-app-restartalways-pod
|
||||||
codename: '[sig-node] InitContainer [NodeConformance] should invoke init containers
|
codename: '[sig-node] InitContainer [NodeConformance] should invoke init containers
|
||||||
on a RestartAlways pod [Conformance]'
|
on a RestartAlways pod [Conformance]'
|
||||||
|
@ -41,7 +41,10 @@ var _ = SIGDescribe("Ephemeral Containers [NodeConformance]", func() {
|
|||||||
podClient = f.PodClient()
|
podClient = f.PodClient()
|
||||||
})
|
})
|
||||||
|
|
||||||
ginkgo.It("will start an ephemeral container in an existing pod", func() {
|
// Release: 1.25
|
||||||
|
// Testname: Ephemeral Container Creation
|
||||||
|
// Description: Adding an ephemeral container to pod.spec MUST result in the container running.
|
||||||
|
framework.ConformanceIt("will start an ephemeral container in an existing pod", func() {
|
||||||
ginkgo.By("creating a target pod")
|
ginkgo.By("creating a target pod")
|
||||||
pod := podClient.CreateSync(&v1.Pod{
|
pod := podClient.CreateSync(&v1.Pod{
|
||||||
ObjectMeta: metav1.ObjectMeta{Name: "ephemeral-containers-target-pod"},
|
ObjectMeta: metav1.ObjectMeta{Name: "ephemeral-containers-target-pod"},
|
||||||
|
Loading…
Reference in New Issue
Block a user