Skip to content

Commit

Permalink
Fix path for terraform in nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
Automatic Update committed Dec 13, 2024
1 parent 1bc7df7 commit 20b99be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ingress-nginx/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ verify_cluster_access
### Create secret required by ingress-nginx
###

SELECTED_INGRESS_IP_RAW_ADDRESS=$(terraform -chdir="../../terraform/subscriptions/$AZ_SUBSCRIPTION_NAME/$RADIX_ZONE/pre-clusters" output -json clusters | jq -r '.[] | select(.cluster==env.CLUSTER_NAME).ingressIp')
SELECTED_INGRESS_IP_RAW_ADDRESS=$(terraform -chdir="../terraform/subscriptions/$AZ_SUBSCRIPTION_NAME/$RADIX_ZONE/pre-clusters" output -json clusters | jq -r '.[] | select(.cluster==env.CLUSTER_NAME).ingressIp')
create-a-record "*.${CLUSTER_NAME}" "$SELECTED_INGRESS_IP_RAW_ADDRESS" "$AZ_RESOURCE_GROUP_IPPRE" "$AZ_RESOURCE_DNS" "60" || {
echo "ERROR: failed to create A record *.${CLUSTER_NAME}" >&2
}
Expand Down

0 comments on commit 20b99be

Please sign in to comment.