mirror of https://github.com/k3s-io/k3s
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
commit
1023bb9d30
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue