From 91a32559598653adfaeaa2f7db8b113b00fbbb12 Mon Sep 17 00:00:00 2001 From: Brendan Shephard Date: Wed, 3 Jul 2024 10:31:39 +1000 Subject: [PATCH] [DNM] Test removing labels from Namespace Signed-off-by: Brendan Shephard --- scripts/gen-namespace.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/scripts/gen-namespace.sh b/scripts/gen-namespace.sh index e82ba00..038254b 100644 --- a/scripts/gen-namespace.sh +++ b/scripts/gen-namespace.sh @@ -16,26 +16,25 @@ set -ex if [ -z "$OUT" ]; then - echo "Please set OUT"; exit 1 + echo "Please set OUT" + exit 1 fi if [ -z "$NAMESPACE" ]; then - echo "Please set NAMESPACE"; exit 1 + echo "Please set NAMESPACE" + exit 1 fi OUT_DIR=${OUT}/${NAMESPACE} if [ ! -d ${OUT_DIR} ]; then - mkdir -p ${OUT_DIR} + mkdir -p ${OUT_DIR} fi # can share this for all the operators, won't get re-applied if it already exists -cat > ${OUT_DIR}/namespace.yaml <${OUT_DIR}/namespace.yaml <