summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-07-29 13:08:48 -0500
committerBrian Freeman <bf1936@att.com>2019-07-29 13:09:01 -0500
commit48f75c98969feebfb151d469b5cb70054f2493c3 (patch)
treee01ea676e23653d58c0961d410caf68bde921300
parentc61842700ce4426111091d7c6187cf8dc85c97b7 (diff)
fix eteHelm to ignore header
Issue-ID: INT-1177 Change-Id: Id484a00a4d43a1c15527164ba885be4e5e390ad2 Signed-off-by: Brian Freeman <bf1936@att.com>
-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 ;