diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-06-09 08:54:19 +0200 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-06-09 08:54:19 +0200 |
commit | 9614b3b2481a60945d5cb3f91054a44592fb88b8 (patch) | |
tree | 1af6e09049e66d00a756230b16ea766a01725cac /shell | |
parent | d8bbd8be1b29cfd19fa15ce26b81af8e28a96536 (diff) |
[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 <sylvain.desbureaux@orange.com>
Change-Id: If8bd3e636b0e305bf5502d61306d42d6776a4be6
Diffstat (limited to 'shell')
-rwxr-xr-x | shell/helm-repo-init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |