Add references to Windows 20H2 test images.

Signed-off-by: Jeremy Edwards <1312331+jeremyje@users.noreply.github.com>
This commit is contained in:
Jeremy Edwards 2021-02-09 10:14:22 +00:00
parent ddcc431c11
commit 1c81071d39
2 changed files with 5 additions and 3 deletions

View File

@ -50,10 +50,12 @@ func init() {
testImage = "mcr.microsoft.com/windows/nanoserver:1809"
case osversion.V19H1:
testImage = "mcr.microsoft.com/windows/nanoserver:1903"
case 18363: // this isn't in osversion yet, but the image should be available
case osversion.V19H2:
testImage = "mcr.microsoft.com/windows/nanoserver:1909"
case 19041: // this isn't in osversion yet, but the image should be available
case osversion.V20H1:
testImage = "mcr.microsoft.com/windows/nanoserver:2004"
case osversion.V20H2:
testImage = "mcr.microsoft.com/windows/nanoserver:20H2"
default:
fmt.Println("No test image defined for Windows build version:", b)
panic("No windows test image found for this Windows build")

View File

@ -54,7 +54,7 @@ func DefaultConfig() PluginConfig {
TLSKeyFile: "",
TLSCertFile: "",
},
SandboxImage: "mcr.microsoft.com/oss/kubernetes/pause:1.4.0",
SandboxImage: "mcr.microsoft.com/oss/kubernetes/pause:1.4.1",
StatsCollectPeriod: 10,
MaxContainerLogLineSize: 16 * 1024,
Registry: Registry{