From 81ee74739562906200b9a9e3ca1293a4cb09bcd0 Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Wed, 27 Feb 2019 11:20:24 -0800 Subject: [PATCH] tests: Adds private gcr.io Windows image test case Adds the test "should be able to pull from private registry with secret [NodeConformance]" which will pull the image "gcr.io/authenticated-image-pulling/windows-nanoserver:v1". The mentioned image is a manifest list, and it works for both Windows Server 1803 and Windows Server 2019. The manifest list will have to be amended when a new Windows Server is released. --- test/e2e/common/runtime.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/e2e/common/runtime.go b/test/e2e/common/runtime.go index de191dbe8dd..e2bcfeb06b0 100644 --- a/test/e2e/common/runtime.go +++ b/test/e2e/common/runtime.go @@ -372,6 +372,12 @@ while true; do sleep 1; done image := "gcr.io/authenticated-image-pulling/alpine:3.7" imagePullTest(image, true, v1.PodRunning, false, false) }) + + It("should be able to pull from private registry with secret [NodeConformance]", func() { + framework.SkipUnlessNodeOSDistroIs("windows") + image := "gcr.io/authenticated-image-pulling/windows-nanoserver:v1" + imagePullTest(image, true, v1.PodRunning, false, true) + }) }) }) })