aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xeteHelm-k8s.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/eteHelm-k8s.sh b/eteHelm-k8s.sh
index c58d8a87..0fa8e94f 100755
--- a/eteHelm-k8s.sh
+++ b/eteHelm-k8s.sh
@@ -30,7 +30,7 @@ export NAMESPACE="$1"
POD=$(kubectl --namespace $NAMESPACE get pods | sed 's/ .*//'| grep robot)
-PROJECTS=$(helm list | tail +3 | grep '-' | cut -d' ' -f1 | sed -E 's/\w+-(\w+)/health-\1/g' | grep -v consul | grep -v nfs-provision)
+PROJECTS=$(helm list | tail -n +3 | grep '-' | cut -d' ' -f1 | sed -E 's/\w+-(\w+)/health-\1/g' | grep -v consul | grep -v nfs-provision)
TAGS=""
for project in $PROJECTS ;