Skip to content

Commit

Permalink
Always do upgrade on reinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Mar 7, 2019
1 parent 8d2f332 commit d9517ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion entry
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ if [ -z "$INSTALLED_VERSION" ] && [ -z "$STATUS" ]; then
fi
if [ -z "$VERSION" ] || [ "$INSTALLED_VERSION" = "$VERSION" ]; then
if [ "$STATUS" = "DEPLOYED" ]; then
echo Already installed $NAME
echo Already installed $NAME, upgrading
# We assume the args are always install --name foo CHART
shift 2
helm upgrade "$@" $VALUES
exit
fi
fi
Expand Down

0 comments on commit d9517ca

Please sign in to comment.