Merge pull request #77285 from pjh/automated-cherry-pick-of-#76722-upstream-release-1.14

Automated cherry pick of #76722: Pin GCE Windows node image to 1809 v20190312.
pull/564/head
Kubernetes Prow Robot 2019-05-02 14:01:06 -07:00 committed by GitHub
commit 1023bb9d30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -2020,7 +2020,9 @@ function create-node-template() {
if [[ "${os}" == 'linux' ]]; then
node_image_flags="--image-project ${NODE_IMAGE_PROJECT} --image ${NODE_IMAGE}"
elif [[ "${os}" == 'windows' ]]; then
node_image_flags="--image-project ${WINDOWS_NODE_IMAGE_PROJECT} --image-family ${WINDOWS_NODE_IMAGE_FAMILY}"
# TODO(pjh): revert back to using WINDOWS_NODE_IMAGE_FAMILY instead of
# pinning to the v20190312 image once #76666 is resolved.
node_image_flags="--image-project ${WINDOWS_NODE_IMAGE_PROJECT} --image=windows-server-1809-dc-core-for-containers-v20190312"
else
echo "Unknown OS ${os}" >&2
exit 1