From 2ff81c2681bbe1fea7219aa09740efed7577bc12 Mon Sep 17 00:00:00 2001 From: Piasecki-grid Date: Mon, 31 Mar 2025 14:10:05 +0200 Subject: [PATCH] Added kubeconfig configuration to pipeline --- .github/workflows/setup-infra-pipeline.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/setup-infra-pipeline.yml b/.github/workflows/setup-infra-pipeline.yml index 1d334fa1c..617247878 100644 --- a/.github/workflows/setup-infra-pipeline.yml +++ b/.github/workflows/setup-infra-pipeline.yml @@ -20,6 +20,18 @@ jobs: - name: Setting up terraform uses: hashicorp/setup-terraform@v3 + - name: Install kubectl + uses: azure/setup-kubectl@v4 + with: + version: 'v1.29.0' + id: install + + + - 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: |