From 59a0da769de6f8a88852060321136c41dd571ef9 Mon Sep 17 00:00:00 2001 From: Marco Ebert Date: Wed, 22 Jan 2025 00:48:36 +0100 Subject: [PATCH] Build: Always use local `tmp` dir on macOS. (#12734) --- build/run-in-docker.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build/run-in-docker.sh b/build/run-in-docker.sh index bef0edbdb0..c4f3b34e08 100755 --- a/build/run-in-docker.sh +++ b/build/run-in-docker.sh @@ -26,14 +26,11 @@ set -o nounset set -o pipefail # temporal directory for the /etc/ingress-controller directory -if [[ "$OSTYPE" == darwin* ]] && [[ "$RUNTIME" == podman ]]; then +if [[ "$OSTYPE" == darwin* ]]; then mkdir -p "tmp" INGRESS_VOLUME=$(pwd)/$(mktemp -d tmp/XXXXXX) else INGRESS_VOLUME=$(mktemp -d) - if [[ "$OSTYPE" == darwin* ]]; then - INGRESS_VOLUME=/private$INGRESS_VOLUME - fi fi # make sure directory for SSL cert storage exists under ingress volume