mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-04-24 19:32:48 +00:00
Added kubeconfig configuration to pipeline v2
This commit is contained in:
parent
2ff81c2681
commit
ce2720f620
1 changed files with 1 additions and 2 deletions
3
.github/workflows/setup-infra-pipeline.yml
vendored
3
.github/workflows/setup-infra-pipeline.yml
vendored
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue