From 24b8e8829a7834d60fa793d70c246a812ec9c5b0 Mon Sep 17 00:00:00 2001 From: mrichomme Date: Wed, 20 May 2020 10:36:54 +0200 Subject: Fix setup-hvves script the grep used in the kubectl command to retrieve the hv-ves collector is too wide. It retrieves the right pod and the euphemeral test pod created by the test job as a consequence the HVESPOD is not correct and triggers an error simple solution consists in putting a stronger constaint on the grep Issue-ID: INT-1594 Signed-off-by: mrichomme Change-Id: Ib66dc5be7d1d6809432320047c9a0406e75378fd --- setup-hvves.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-hvves.sh b/setup-hvves.sh index f81799b6..ab9b4af7 100755 --- a/setup-hvves.sh +++ b/setup-hvves.sh @@ -7,7 +7,7 @@ NAMESPACE=${NAMESPACE:-onap} DIR=${DIR:-/tmp} -HVVESPOD=$(kubectl -n $NAMESPACE get pods --no-headers=true -o custom-columns=:metadata.name | grep hv-ves) +HVVESPOD=$(kubectl -n $NAMESPACE get pods --no-headers=true -o custom-columns=:metadata.name | grep dcae-hv-ves) generate_ca_key_cert () { -- cgit 1.2.3-korg