Skip to content

Commit

Permalink
fix: Fix typo when using the HELM_BOOL_CREATE_NAMESPACE variable in…
Browse files Browse the repository at this point in the history
… `install_helm_chart` and `upgrade_helm_chart` commands (#75)
  • Loading branch information
afdecastro879 authored Dec 14, 2023
1 parent c70afaf commit 4e9c16d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/scripts/install_helm_chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ "${HELM_BOOL_WAIT_FOR_JOBS}" -eq 1 ]; then
set -- "$@" --wait-for-jobs
fi
if [ -n "${HELM_STR_NAMESPACE}" ]; then
if [ "${HELM_BOOL_CREATE_NAME_SPACE}" -eq "1" ]; then
if [ "${HELM_BOOL_CREATE_NAMESPACE}" -eq "1" ]; then
set -- "$@" --create-namespace --namespace="${HELM_STR_NAMESPACE}"
else
set -- "$@" --namespace="${HELM_STR_NAMESPACE}"
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/upgrade_helm_chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ HELM_STR_ADD_REPO="$(echo "${HELM_STR_ADD_REPO}" | circleci env subst)"

set -x
if [ -n "${HELM_STR_NAMESPACE}" ]; then
if [ "${HELM_BOOL_CREATE_NAME_SPACE}" -eq "1" ]; then
if [ "${HELM_BOOL_CREATE_NAMESPACE}" -eq "1" ]; then
set -- "$@" --create-namespace --namespace="${HELM_STR_NAMESPACE}"
else
set -- "$@" --namespace="${HELM_STR_NAMESPACE}"
Expand Down

0 comments on commit 4e9c16d

Please sign in to comment.