Merge pull request #110333 from liurupeng/rupliu/addwin22

Add Windows Server 2022 support for GKE
This commit is contained in:
Kubernetes Prow Robot 2022-06-01 13:40:09 -07:00 committed by GitHub
commit d9eb7c4c6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,6 +95,8 @@ function set-windows-node-image() {
WINDOWS_NODE_IMAGE="windows-server-2004-dc-core-v20210914"
elif [[ "${WINDOWS_NODE_OS_DISTRIBUTION,,}" == "win20h2" ]]; then
WINDOWS_NODE_IMAGE="windows-server-20h2-dc-core-v20210914"
elif [[ "${WINDOWS_NODE_OS_DISTRIBUTION,,}" == "win2022" ]]; then
WINDOWS_NODE_IMAGE="windows-server-2022-dc-core-v20220513"
else
echo "Unknown WINDOWS_NODE_OS_DISTRIBUTION ${WINDOWS_NODE_OS_DISTRIBUTION}" >&2
exit 1