mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #17925 from mikedanese/tmp-fix
Auto commit by PR queue bot
This commit is contained in:
commit
11574ee990
@ -30,7 +30,7 @@ readonly KUBE_DOCKER_WRAPPED_BINARIES=(
|
|||||||
kube-scheduler
|
kube-scheduler
|
||||||
kube-proxy
|
kube-proxy
|
||||||
)
|
)
|
||||||
|
|
||||||
readonly SERVER_BIN_TAR=${1-}
|
readonly SERVER_BIN_TAR=${1-}
|
||||||
if [[ -z "$SERVER_BIN_TAR" ]]; then
|
if [[ -z "$SERVER_BIN_TAR" ]]; then
|
||||||
echo "!!! No binaries specified"
|
echo "!!! No binaries specified"
|
||||||
@ -38,7 +38,7 @@ if [[ -z "$SERVER_BIN_TAR" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Create a temp dir for untaring
|
# Create a temp dir for untaring
|
||||||
KUBE_TEMP=$(mktemp -d -t kubernetes.XXXXXX)
|
KUBE_TEMP=$(mktemp --tmpdir=/srv -d -t kubernetes.XXXXXX)
|
||||||
trap 'rm -rf "${KUBE_TEMP}"' EXIT
|
trap 'rm -rf "${KUBE_TEMP}"' EXIT
|
||||||
|
|
||||||
# This file is meant to run on the master. It will install the salt configs
|
# This file is meant to run on the master. It will install the salt configs
|
||||||
|
Loading…
Reference in New Issue
Block a user