Merge pull request #76722 from pjh/gce-pin-node-image

Pin GCE Windows node image to 1809 v20190312.
This commit is contained in:
Kubernetes Prow Robot 2019-04-17 21:14:17 -07:00 committed by GitHub
commit 257e6863b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2031,7 +2031,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