Use helm upgrade instead of install
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
itzaname 2022-06-18 01:25:26 -04:00
parent 1d967328be
commit 1a257d7d4f

View File

@ -39,7 +39,7 @@ steps:
image: alpine/helm:latest
commands:
- mkdir ~/.kube && echo "$KUBE_CONF_DEV" > ~/.kube/config && chmod 600 ~/.kube/config
- helm install --namespace=strafesnet-dev maptest-bot --set config="$(echo $APP_CONFIG | base64 -w0)" --set image.tag=master-$DRONE_BUILD_NUMBER chart
- helm upgrade -i --namespace=strafesnet-dev maptest-bot --set config="$(echo $APP_CONFIG | base64 -w0)" --set image.tag=master-$DRONE_BUILD_NUMBER chart
environment:
APP_CONFIG:
from_secret: APP_CONFIG