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 <morgan.richomme@orange.com>
Change-Id: Ib66dc5be7d1d6809432320047c9a0406e75378fd
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 () {