From 1a257d7d4f137d63eeaa205d0c38363d8cfc0182 Mon Sep 17 00:00:00 2001 From: itzaname Date: Sat, 18 Jun 2022 01:25:26 -0400 Subject: [PATCH] Use helm upgrade instead of install --- .drone.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yaml b/.drone.yaml index 832a9ea..f9d8959 100644 --- a/.drone.yaml +++ b/.drone.yaml @@ -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