mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Fix e2e test cases for EnvFiles
This commit is contained in:
parent
0c2aa7fee2
commit
d979816a40
1 changed files with 2 additions and 2 deletions
|
|
@ -385,7 +385,7 @@ var _ = SIGDescribe("MirrorPod (Pod Generation)", func() {
|
|||
})
|
||||
})
|
||||
|
||||
var _ = SIGDescribe("MirrorPod with EnvFiles", framework.WithFeatureGate(features.EnvFiles), func() {
|
||||
var _ = SIGDescribe("MirrorPod with EnvFiles", framework.WithNodeConformance(), framework.WithFeatureGate(features.EnvFiles), func() {
|
||||
f := framework.NewDefaultFramework("mirror-pod-envfiles")
|
||||
f.NamespacePodSecurityLevel = admissionapi.LevelPrivileged
|
||||
var ns, podPath, staticPodName, mirrorPodName string
|
||||
|
|
@ -415,7 +415,7 @@ var _ = SIGDescribe("MirrorPod with EnvFiles", framework.WithFeatureGate(feature
|
|||
{
|
||||
Name: "setup-envfile",
|
||||
Image: imageutils.GetE2EImage(imageutils.BusyBox),
|
||||
Command: []string{"sh", "-c", `echo CONFIG_1='value1' > /data/config.env && echo CONFIG_2=\'value2\' >> /data/config.env`},
|
||||
Command: []string{"sh", "-c", `echo CONFIG_1=\'value1\' > /data/config.env && echo CONFIG_2=\'value2\' >> /data/config.env`},
|
||||
VolumeMounts: []v1.VolumeMount{
|
||||
{
|
||||
Name: "config",
|
||||
|
|
|
|||
Loading…
Reference in a new issue