From a30c278611cdcc94f1b79667bac978ad10fd5b1b Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Thu, 12 Jan 2023 16:03:42 +0100 Subject: [PATCH] ci(helm): setting app namespace as default Signed-off-by: rjshrjndrn --- .github/workflows/api-ee.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/api-ee.yaml b/.github/workflows/api-ee.yaml index f30c1b111..c014f34c5 100644 --- a/.github/workflows/api-ee.yaml +++ b/.github/workflows/api-ee.yaml @@ -110,7 +110,9 @@ jobs: cat /tmp/image_override.yaml # Deploy command - helm template openreplay -n app openreplay -f vars.yaml -f /tmp/image_override.yaml --set ingress-nginx.enabled=false --set skipMigration=true --no-hooks | kubectl apply -n app -f - + kubectl config set-context --namespace=app --current + kubectl config get-contexts + helm template openreplay -n app openreplay -f vars.yaml -f /tmp/image_override.yaml --set ingress-nginx.enabled=false --set skipMigration=true --no-hooks | kubectl apply -f - env: DOCKER_REPO: ${{ secrets.EE_REGISTRY_URL }} # We're not passing -ee flag, because helm will add that.