From d97b640aacfba12ec6a189524b545403deb40112 Mon Sep 17 00:00:00 2001 From: wanddynosios <67467325+wanddynosios@users.noreply.github.com> Date: Fri, 17 Feb 2023 18:01:02 +0100 Subject: [PATCH] adapt scripts to work on mac --- scripts/deploy-on-kind.sh | 6 +++++- scripts/install-dependencies.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/deploy-on-kind.sh b/scripts/deploy-on-kind.sh index f0dffd277..9c50b8496 100755 --- a/scripts/deploy-on-kind.sh +++ b/scripts/deploy-on-kind.sh @@ -5,6 +5,10 @@ set -euo pipefail ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)" SCRIPT_DIR="${ROOT_DIR}/scripts" +# workaround for https://github.com/carvel-dev/kbld/issues/213 +# kbld fails with git error messages in languages than other english +export LC_ALL=en_US.UTF-8 + function usage_text() { cat </dev/null 2>&1; then - if [[ -v INSECURE_TLS_METRICS_SERVER ]]; then + if [[ "${INSECURE_TLS_METRICS_SERVER}" == "true" ]]; then echo "************************************************" echo " Installing Metrics Server Insecure TLS options" echo "************************************************"