diff options
author | mrichomme <morgan.richomme@orange.com> | 2020-05-20 10:36:54 +0200 |
---|---|---|
committer | mrichomme <morgan.richomme@orange.com> | 2020-05-20 10:39:11 +0200 |
commit | 24b8e8829a7834d60fa793d70c246a812ec9c5b0 (patch) | |
tree | 40058d50488d501bb0bcccd5ff996a329e80cb7b | |
parent | a7172175ffbb62883da96779d1e6fae0b8c7bcd1 (diff) |
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 <morgan.richomme@orange.com>
Change-Id: Ib66dc5be7d1d6809432320047c9a0406e75378fd
-rwxr-xr-x | setup-hvves.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 () { |