mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
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.
This commit is contained in:
parent
ab3ccc1bd7
commit
81ee747395
@ -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)
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user