Added kubeconfig configuration to pipeline

This commit is contained in:
Piasecki-grid 2025-03-31 14:10:05 +02:00
parent 3da7fd39d4
commit 2ff81c2681

View file

@ -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: |