File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,9 @@ stages:
166166 chmod +x kubectl
167167 echo Cluster $(AZURE_CLUSTER)
168168 echo Resource $(RESOURCE_GROUP)
169+ echo Public IP $(PUBLIC_IP_NAME)
170+ export PUBLIC_IP_ID=$(az network public-ip show -g $(RESOURCE_GROUP) -n $(PUBLIC_IP_NAME) --query id -o tsv)
171+ echo Public IP ID $PUBLIC_IP_ID
169172
170173 if [[ $(AZURE_CLUSTER) == *ws22 ]] # * is used for pattern matching
171174 then
@@ -183,7 +186,7 @@ stages:
183186 --vm-set-type VirtualMachineScaleSets \
184187 --node-vm-size Standard_D4s_v3 \
185188 --node-count 1 \
186- --load-balancer-outbound-ips $( PUBLIC_IP_ID)
189+ --load-balancer-outbound-ips $PUBLIC_IP_ID
187190
188191 if [ $? != 0 ]
189192 then
@@ -231,7 +234,7 @@ stages:
231234 --resource-group $(RESOURCE_GROUP) \
232235 --name $(AZURE_CLUSTER) \
233236 --network-plugin azure \
234- --load-balancer-outbound-ips $( PUBLIC_IP_ID)
237+ --load-balancer-outbound-ips $PUBLIC_IP_ID
235238
236239 if [ $? != 0 ]
237240 then
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ jobs:
148148 --ip-tags 'FirstPartyUsage=/DelegatedNetworkControllerTest' \
149149 --location $(LOCATION) --sku Standard --tier Regional \
150150 --version IPv4
151- export PUBLIC_IP_ID=$(az network public-ip show -g $(RESOURCE_GROUP) -n $( PUBLIC_IP_NAME) --query id -o tsv)
151+ export PUBLIC_IP_ID=$(az network public-ip show -g $(RESOURCE_GROUP) -n $PUBLIC_IP_NAME --query id -o tsv)
152152
153153 export CLUSTER_NAME=$(RESOURCE_GROUP)-$(PROFILE)
154154 echo "Creating cluster named $CLUSTER_NAME"
You can’t perform that action at this time.
0 commit comments