include nltest in the windows busybox image

This commit is contained in:
James Sturtevant
2021-03-02 19:28:51 -08:00
parent 28feb8e30d
commit 1ed2b287e3
6 changed files with 29 additions and 8 deletions

View File

@@ -375,7 +375,12 @@ func createPodWithGmsa(f *framework.Framework, serviceAccountName string) string
Containers: []v1.Container{
{
Name: podName,
Image: imageutils.GetPauseImageName(),
Image: imageutils.GetE2EImage(imageutils.BusyBox),
Command: []string{
"powershell.exe",
"-Command",
"sleep -Seconds 600",
},
},
},
SecurityContext: &v1.PodSecurityContext{

View File

@@ -59,11 +59,21 @@ var _ = SIGDescribe("[Feature:Windows] GMSA Kubelet [Slow]", func() {
Containers: []v1.Container{
{
Name: container1Name,
Image: imageutils.GetPauseImageName(),
Image: imageutils.GetE2EImage(imageutils.BusyBox),
Command: []string{
"powershell.exe",
"-Command",
"sleep -Seconds 600",
},
},
{
Name: container2Name,
Image: imageutils.GetPauseImageName(),
Image: imageutils.GetE2EImage(imageutils.BusyBox),
Command: []string{
"powershell.exe",
"-Command",
"sleep -Seconds 600",
},
SecurityContext: &v1.SecurityContext{
WindowsOptions: &v1.WindowsSecurityContextOptions{
GMSACredentialSpec: generateDummyCredSpecs(container2Domain),