Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request #40 from supplypike/fix-helm3
Browse files Browse the repository at this point in the history
Fix helmv3 typo
  • Loading branch information
stefanprodan authored Jun 16, 2020
2 parents e1cc35f + 67cad77 commit 24972b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hrval.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ function download {
CHART_NAME=$(yq r ${1} spec.chart.name)
CHART_VERSION=$(yq r ${1} spec.chart.version)
CHART_DIR=${2}/${CHART_NAME}

CHART_REPO_MD5=`/bin/echo $CHART_REPO | /usr/bin/md5sum | cut -f1 -d" "`

if [[ ${HELM_VER} == "v3" ]]; then
helmv3 repo add ${CHART_REPO_MD5} ${CHART_REPO}
helm3 repo update
helmv3 repo update
helmv3 fetch --version ${CHART_VERSION} --untar ${CHART_REPO_MD5}/${CHART_NAME} --untardir ${2}
else
helm repo add ${CHART_REPO_MD5} ${CHART_REPO}
Expand Down

0 comments on commit 24972b5

Please sign in to comment.