diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-02-19 16:24:48 +0100 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-02-19 16:24:48 +0100 |
commit | 3c624dea37d410120c5eea0d49ba9abed914ce86 (patch) | |
tree | f0d3afe65958486ca6684e0052ef1abbc007edca /shell | |
parent | 530060e6dac6c9b3b4681c09601fde80a1d93856 (diff) |
[OOM] fix repo init script
as helm3 binary is no more available, helm repo init script must use
`$HELM_BIN` retrieved from prop file.
Issue-ID: OOM-1
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I56de1ddf62488ef8bd0b4a177263adeeb5149947
Diffstat (limited to 'shell')
-rwxr-xr-x | shell/helm-repo-init.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/helm-repo-init.sh b/shell/helm-repo-init.sh index 9583bade7..d8990434a 100755 --- a/shell/helm-repo-init.sh +++ b/shell/helm-repo-init.sh @@ -5,5 +5,6 @@ set -e -o pipefail mkdir -p ".chartstorage" chartmuseum --port=6464 --storage="local" --storage-local-rootdir=".chartstorage" &> /dev/null & -helm3 plugin install https://github.com/chartmuseum/helm-push.git -helm3 repo add local http://localhost:6464 +source helm.prop +$HELM_BIN plugin install https://github.com/chartmuseum/helm-push.git +$HELM_BIN repo add local http://localhost:6464 |