From 2960dee90c4bd96b2e9cd95adcd4f0f0b8e03834 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Thu, 19 May 2022 14:59:34 +0200 Subject: [PATCH] ci: remove --kubeconfig since $KUBECONFIG is used and move --namespace back to the rest of the flags --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 903c5f2..35e4bc5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,6 +22,6 @@ deploy:prod: environment: name: prod script: - - helm --kubeconfig $KUBECONFIG upgrade --install --namespace wsj wsj-standup ./deploy/chart/wsj-standup --set image.tag=$IMAGE_TAG --set=app.WEBHOOK_URL $DISCORD_WEBHOOK_URL --set app.SENTRY_DSN=$SENTRY_DSN --set image.pullSecretBase64=$REGISTRY_PULL_SECRET_BASE64 + - helm upgrade --install wsj-standup ./deploy/chart/wsj-standup --namespace wsj --set image.tag=$IMAGE_TAG --set=app.WEBHOOK_URL $DISCORD_WEBHOOK_URL --set app.SENTRY_DSN=$SENTRY_DSN --set image.pullSecretBase64=$REGISTRY_PULL_SECRET_BASE64 rules: - if: '$CI_COMMIT_BRANCH == "main"'