Skip to content

Commit

Permalink
Attempt to fix IP
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikthepixel committed Jan 18, 2024
1 parent f920345 commit 6c0bb1b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release-microservices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,10 @@ jobs:

- name: "Set api ip-address"
run: |
echo "AKS_IP=$(kubectl get ingress gateway-ingress -o json | jq -r .status.loadBalancer.ingress[0].ip)" >> "$GITHUB_ENV"
az network front-door backend-pool backend update \
-g squaremarket-group \
-f squaremarket-frontdoor \
--pool-name api \
--index 1 \
--backend-host-header $AKS_IP \
--address $AKS_IP
--backend-host-header $(kubectl get ingress gateway-ingress -o json | jq -r .status.loadBalancer.ingress[0].ip) \
--address $(kubectl get ingress gateway-ingress -o json | jq -r .status.loadBalancer.ingress[0].ip)

0 comments on commit 6c0bb1b

Please sign in to comment.