Skip to content
This repository was archived by the owner on Mar 24, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion deploy/chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ DOWNLOAD_DIR=""
TEMP_DIRS=()

HELM=""
HELM_HOME=$HOME/.helm
HELM_VALUES=()

CATALOG_VARIANT="all"
Expand Down Expand Up @@ -326,12 +327,15 @@ else
DOWNLOAD_URL=${ARTIFACT}/${HELM_DIST}
DOWNLOAD_DIR="$(mktemp -dt helm-XXXXXX)"
TEMP_DIRS+=($DOWNLOAD_DIR)

downloadFile ${HELM_DIST}

tar xf ${DOWNLOAD_DIR}/${HELM_DIST} -C ${DOWNLOAD_DIR}
HELM=${DOWNLOAD_DIR}/${OS}-${ARCH}/${HELM_BIN}
chmod +x $HELM

# Set HELM_HOME to a temporary directory
export HELM_HOME=$DOWNLOAD_DIR/.helm
$HELM init --client-only
fi

# generate values flags with provided input
Expand Down
6 changes: 5 additions & 1 deletion deploy/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ DOWNLOAD_DIR=""
TEMP_DIRS=()

HELM=""
HELM_HOME=$HOME/.helm
HELM_VALUES=()

CATALOG_VARIANT="all"
Expand Down Expand Up @@ -326,12 +327,15 @@ else
DOWNLOAD_URL=${ARTIFACT}/${HELM_DIST}
DOWNLOAD_DIR="$(mktemp -dt helm-XXXXXX)"
TEMP_DIRS+=($DOWNLOAD_DIR)

downloadFile ${HELM_DIST}

tar xf ${DOWNLOAD_DIR}/${HELM_DIST} -C ${DOWNLOAD_DIR}
HELM=${DOWNLOAD_DIR}/${OS}-${ARCH}/${HELM_BIN}
chmod +x $HELM

# Set HELM_HOME to a temporary directory
export HELM_HOME=$DOWNLOAD_DIR/.helm
$HELM init --client-only
fi

# generate values flags with provided input
Expand Down
6 changes: 5 additions & 1 deletion partials/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ DOWNLOAD_DIR=""
TEMP_DIRS=()

HELM=""
HELM_HOME=$HOME/.helm
HELM_VALUES=()

CATALOG_VARIANT="all"
Expand Down Expand Up @@ -263,12 +264,15 @@ else
DOWNLOAD_URL=${ARTIFACT}/${HELM_DIST}
DOWNLOAD_DIR="$(mktemp -dt helm-XXXXXX)"
TEMP_DIRS+=($DOWNLOAD_DIR)

downloadFile ${HELM_DIST}

tar xf ${DOWNLOAD_DIR}/${HELM_DIST} -C ${DOWNLOAD_DIR}
HELM=${DOWNLOAD_DIR}/${OS}-${ARCH}/${HELM_BIN}
chmod +x $HELM

# Set HELM_HOME to a temporary directory
export HELM_HOME=$DOWNLOAD_DIR/.helm
$HELM init --client-only
fi

# generate values flags with provided input
Expand Down