mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #38727 from Amey-D/gci-metadata-eof
Automatic merge from submit-queue Ensure the GCI metadata files do not have newline at the end Fixes #36708 @dchen1107 @Random-Liu can one of you help with the review? cc @kubernetes/goog-image FYI
This commit is contained in:
commit
f826e11cf5
@ -21,18 +21,12 @@
|
||||
# KUBE_TEMP
|
||||
function ensure-gci-metadata-files {
|
||||
if [[ ! -f "${KUBE_TEMP}/gci-update.txt" ]]; then
|
||||
cat >"${KUBE_TEMP}/gci-update.txt" << EOF
|
||||
update_disabled
|
||||
EOF
|
||||
echo -n "update_disabled" > "${KUBE_TEMP}/gci-update.txt"
|
||||
fi
|
||||
if [[ ! -f "${KUBE_TEMP}/gci-ensure-gke-docker.txt" ]]; then
|
||||
cat >"${KUBE_TEMP}/gci-ensure-gke-docker.txt" << EOF
|
||||
true
|
||||
EOF
|
||||
echo -n "true" > "${KUBE_TEMP}/gci-ensure-gke-docker.txt"
|
||||
fi
|
||||
if [[ ! -f "${KUBE_TEMP}/gci-docker-version.txt" ]]; then
|
||||
cat >"${KUBE_TEMP}/gci-docker-version.txt" << EOF
|
||||
${GCI_DOCKER_VERSION:-}
|
||||
EOF
|
||||
echo -n "${GCI_DOCKER_VERSION:-}" > "${KUBE_TEMP}/gci-docker-version.txt"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user