From ce2720f620abf27f7231b2f81855a6f35e07ee0a Mon Sep 17 00:00:00 2001 From: Piasecki-grid Date: Mon, 31 Mar 2025 14:13:33 +0200 Subject: [PATCH] Added kubeconfig configuration to pipeline v2 --- .github/workflows/setup-infra-pipeline.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/setup-infra-pipeline.yml b/.github/workflows/setup-infra-pipeline.yml index 617247878..798470181 100644 --- a/.github/workflows/setup-infra-pipeline.yml +++ b/.github/workflows/setup-infra-pipeline.yml @@ -30,8 +30,6 @@ jobs: - name: Deploy new version of an image to the cluster run: | az aks get-credentials --resource-group grid-capstone --name dev-grid-cluster --admin --overwrite-existing - export KUBE_CONFIG_PATH=~/.kube/config - - name: Setup git configuration run: | @@ -84,6 +82,7 @@ jobs: - name: Terraform Apply run: | cd cicd/grid-capstone-terraform-infra + export KUBE_CONFIG_PATH=~/.kube/config terraform apply --auto-approve