I fixed the issue with minikube_started() and helm_started() where the
grep command was not grepping the correct docker image and helm chart
due to matching substring. It was solved using helm ls command and the
option --kube-context when minikube eixist to pass minikube profile
and helm ls with the option --namespace when minikube is not exist.
TESTS
========================================
* setup a use profile names "MINIKUBENAME" Eg "stx" and "stx1"
* setup a similar environment to reproduce the issue
Reviewed: https:/ /review. opendev. org/c/starlingx /tools/ +/894220 /opendev. org/starlingx/ tools/commit/ f44dfffbe5ae4b2 b454bee99ffba0c 8f4bc9816b
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit f44dfffbe5ae4b2 b454bee99ffba0c 8f4bc9816b
Author: Willy Njomen <email address hidden>
Date: Wed Sep 20 13:00:33 2023 -0400
Updated minikube profile name
I fixed the issue with minikube_started() and helm_started() where the
grep command was not grepping the correct docker image and helm chart
due to matching substring. It was solved using helm ls command and the
option --kube-context when minikube eixist to pass minikube profile
and helm ls with the option --namespace when minikube is not exist.
TESTS ======= ======= ======= ======= ======= ==
===
* setup a use profile names "MINIKUBENAME" Eg "stx" and "stx1"
* setup a similar environment to reproduce the issue
Closes-Bug: 1995400 2be30957a96e7de b24da122136
Change-Id: Ic9b2224240e0e0
Signed-off-by: Willy Njomen <email address hidden>