Commit 0beaad33 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Deploy script:

- added check ignore-not-exists in delete namespace
parent 4d3315aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -85,7 +85,7 @@ TMP_LOGS_FOLDER="$TMP_FOLDER/logs"
mkdir -p $TMP_LOGS_FOLDER
mkdir -p $TMP_LOGS_FOLDER


echo "Deleting and Creating a new namespace..."
echo "Deleting and Creating a new namespace..."
kubectl delete namespace $TFS_K8S_NAMESPACE
kubectl delete namespace $TFS_K8S_NAMESPACE --ignore-not-found
kubectl create namespace $TFS_K8S_NAMESPACE
kubectl create namespace $TFS_K8S_NAMESPACE
printf "\n"
printf "\n"