aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-02-19 16:31:39 +0000
committerGerrit Code Review <gerrit@onap.org>2021-02-19 16:31:39 +0000
commit3810da9aad2c7e0dbabb149a6f202cecf11d0d6c (patch)
tree904346f4a5fafc2d75f50533bc27e9c78446e35f /kubernetes
parent69e8c90cb3c8171d397319b4339b3ce79da07b9c (diff)
parent9c096c92d3623f5d8717efbf63e9d607369f06a8 (diff)
Merge "[GENERAL] Fix failed chart list reporting in deploy plugin"
Diffstat (limited to 'kubernetes')
-rwxr-xr-xkubernetes/helm/plugins/deploy/deploy.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/kubernetes/helm/plugins/deploy/deploy.sh b/kubernetes/helm/plugins/deploy/deploy.sh
index 40338b9485..3bcb404032 100755
--- a/kubernetes/helm/plugins/deploy/deploy.sh
+++ b/kubernetes/helm/plugins/deploy/deploy.sh
@@ -266,7 +266,11 @@ deploy() {
done
# report on success/failures of installs/upgrades
- helm ls | grep FAILED | grep $RELEASE
+ if [[ $HELM_VER == "v3."* ]]; then
+ helm ls --all-namespaces | grep -i FAILED | grep $RELEASE
+ else
+ helm ls | grep FAILED | grep $RELEASE
+ fi
}
HELM_VER=$(helm version --template "{{.Version}}")
echo $HELM_VER