From 993a425cb71098bbb1d45345720da799b2a8dec0 Mon Sep 17 00:00:00 2001 From: Marco Ebert Date: Tue, 21 Jan 2025 23:42:20 +0100 Subject: [PATCH] Build: Always use local `tmp` dir on macOS. --- 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 3f85159eba..b5e683f3d2 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