File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ main() {
2828 export GMSA=" ${GMSA:- " " } "
2929 export HYPERV=" ${HYPERV:- " " } "
3030 export KPNG=" ${WINDOWS_KPNG:- " " } "
31- export CALICO_VERSION=" ${CALICO_VERSION:- " v3.29.2 " } "
31+ export CALICO_VERSION=" ${CALICO_VERSION:- " v3.31.0 " } "
3232 export TEMPLATE=" ${TEMPLATE:- " windows-ci.yaml" } "
3333 export CAPI_VERSION=" ${CAPI_VERSION:- " v1.7.2" } "
3434 export HELM_VERSION=v3.15.2
@@ -311,6 +311,8 @@ apply_workload_configuraiton(){
311311
312312 # get the info for the API server
313313 servername=$( kubectl config view -o json | jq -r ' .clusters[0].cluster.server | sub("https://"; "") | split(":") | .[0]' )
314+ ipaddress=$( dig +short " $servername " | head -1)
315+ echo " Server: $servername , IP: $ipaddress "
314316 port=$( kubectl config view -o json | jq -r ' .clusters[0].cluster.server | sub("https://"; "") | split(":") | .[1]' )
315317
316318 kubectl apply -f - << EOF
@@ -320,7 +322,7 @@ metadata:
320322 name: kubernetes-services-endpoint
321323 namespace: tigera-operator
322324data:
323- KUBERNETES_SERVICE_HOST: "${servername } "
325+ KUBERNETES_SERVICE_HOST: "${ipaddress } "
324326 KUBERNETES_SERVICE_PORT: "${port} "
325327EOF
326328
Original file line number Diff line number Diff line change @@ -13,6 +13,6 @@ installation:
1313# Image and registry configuration for the tigera/operator pod.
1414tigeraOperator :
1515 image : tigera/operator
16- registry : mcr.microsoft.com/oss
16+ registry : capzcicommunity.azurecr.io
1717calicoctl :
18- image : mcr.microsoft.com/oss /calico/ctl
18+ image : capzcicommunity.azurecr.io /calico/ctl
You can’t perform that action at this time.
0 commit comments