From 9614b3b2481a60945d5cb3f91054a44592fb88b8 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Wed, 9 Jun 2021 08:54:19 +0200 Subject: [PATCH] [OOM] Don't fail when plugin is already installed Helm plugin throws an error when plugin already installed. Don't fail if it's the case. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux Change-Id: If8bd3e636b0e305bf5502d61306d42d6776a4be6 --- shell/helm-repo-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/helm-repo-init.sh b/shell/helm-repo-init.sh index 937f0e7d0..bfc346690 100755 --- a/shell/helm-repo-init.sh +++ b/shell/helm-repo-init.sh @@ -6,6 +6,6 @@ mkdir -p ".chartstorage" chartmuseum --port=6464 --storage="local" --storage-local-rootdir=".chartstorage" &> /dev/null & source helm.prop -$HELM_BIN plugin install https://github.com/chartmuseum/helm-push.git +$HELM_BIN plugin install https://github.com/chartmuseum/helm-push.git || true $HELM_BIN repo add local http://localhost:6464 $HELM_BIN repo add onap http://localhost:6464 -- 2.16.6