Skip to content

Commit

Permalink
Reset vaules (#11)
Browse files Browse the repository at this point in the history
* use --reset-values and expect user to redefine vaules

* reset dockerfile
  • Loading branch information
jgreat authored May 19, 2022
1 parent 11d4c4b commit 906c2bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ helm_upgrade()
if helm upgrade "${INPUT_RELEASE_NAME}" "${repo_name}/${INPUT_CHART_NAME}" \
-i --wait --timeout="${INPUT_CHART_WAIT_TIMEOUT}" \
--namespace "${INPUT_NAMESPACE}" \
--reset-values \
--version "${INPUT_CHART_VERSION}" ${sets}
then
echo_exit "Deploy Successful"
Expand All @@ -86,6 +87,7 @@ helm_upgrade_with_values()
-i --wait --timeout="${INPUT_CHART_WAIT_TIMEOUT}" \
-f "${INPUT_CHART_VALUES}" \
--namespace "${INPUT_NAMESPACE}" \
--reset-values \
--version "${INPUT_CHART_VERSION}" ${sets}
then
echo_exit "Deploy Successful"
Expand Down

0 comments on commit 906c2bb

Please sign in to comment.