Skip to content

Commit

Permalink
upgrade istio to 1.23 (#1039)
Browse files Browse the repository at this point in the history
upgrade istio to 1-23

---------

Signed-off-by: Gerd Oberlechner <[email protected]>
  • Loading branch information
geoberle authored Jan 7, 2025
1 parent 56a045b commit ac5667e
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 13 deletions.
4 changes: 2 additions & 2 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ defaults:
istio:
istioctlVersion: "1.23.1"
tag: "prod-stable"
targetVersion: "asm-1-22"
versions: "asm-1-22"
targetVersion: "asm-1-23"
versions: "asm-1-22,asm-1-23"

# MGMT cluster specifics
mgmt:
Expand Down
4 changes: 2 additions & 2 deletions config/public-cloud-cs-pr.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@
"istio": {
"istioctlVersion": "1.23.1",
"tag": "prod-stable",
"targetVersion": "asm-1-22",
"versions": "asm-1-22"
"targetVersion": "asm-1-23",
"versions": "asm-1-22,asm-1-23"
},
"rg": "hcp-underlay-cspr-svc",
"subscription": "ARO Hosted Control Planes (EA Subscription 1)",
Expand Down
4 changes: 2 additions & 2 deletions config/public-cloud-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@
"istio": {
"istioctlVersion": "1.23.1",
"tag": "prod-stable",
"targetVersion": "asm-1-22",
"versions": "asm-1-22"
"targetVersion": "asm-1-23",
"versions": "asm-1-22,asm-1-23"
},
"rg": "hcp-underlay-dev-svc",
"subscription": "ARO Hosted Control Planes (EA Subscription 1)",
Expand Down
4 changes: 2 additions & 2 deletions config/public-cloud-personal-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@
"istio": {
"istioctlVersion": "1.23.1",
"tag": "prod-stable",
"targetVersion": "asm-1-22",
"versions": "asm-1-22"
"targetVersion": "asm-1-23",
"versions": "asm-1-22,asm-1-23"
},
"rg": "hcp-underlay-usw3tst-svc",
"subscription": "ARO Hosted Control Planes (EA Subscription 1)",
Expand Down
11 changes: 6 additions & 5 deletions dev-infrastructure/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,10 @@ svc: svc.rg
configurations/svc-cluster.bicepparam \
--parameters \
persist=${PERSIST}
@TARGET_VERSION=$(ISTIO_TARGET_VERSION) ISTIOCTL_VERSION=$(ISTIOCTL_VERSION) TAG=$(ISTIO_TAG) scripts/istio.sh

@scripts/aks-admin-access.sh $(SVC_RESOURCEGROUP) $(PRINCIPAL_ID)
@scripts/aks-kubeconfig.sh $(SVC_RESOURCEGROUP) $(AKS_NAME) "$(SVC_KUBECONFIG_FILE)"
@KUBEONFIG=$(SVC_KUBECONFIG_FILE) TARGET_VERSION=$(ISTIO_TARGET_VERSION) ISTIOCTL_VERSION=$(ISTIOCTL_VERSION) TAG=$(ISTIO_TAG) scripts/istio.sh
.PHONY: svc

svc.enable-aks-metrics:
Expand Down Expand Up @@ -244,8 +247,7 @@ svc.aks.admin-access:
.PHONY: svc.aks.admin-access

svc.aks.kubeconfig:
@az aks get-credentials --overwrite-existing --only-show-errors -n ${AKS_NAME} -g $(SVC_RESOURCEGROUP) -f "${SVC_KUBECONFIG_FILE}"
@kubelogin convert-kubeconfig -l azurecli --kubeconfig "${SVC_KUBECONFIG_FILE}"
@scripts/aks-kubeconfig.sh $(SVC_RESOURCEGROUP) $(AKS_NAME) "$(SVC_KUBECONFIG_FILE)"
.PHONY: svc.aks.kubeconfig

svc.aks.kubeconfigfile:
Expand Down Expand Up @@ -357,8 +359,7 @@ mgmt.aks.admin-access:
.PHONY: mgmt.aks.admin-access

mgmt.aks.kubeconfig: mgmt.aks.kubeconfigfile
@az aks get-credentials --overwrite-existing --only-show-errors -n ${AKS_NAME} -g $(MGMT_RESOURCEGROUP) -f "${MGMT_KUBECONFIG_FILE}"
@kubelogin convert-kubeconfig -l azurecli --kubeconfig "${MGMT_KUBECONFIG_FILE}"
@scripts/aks-kubeconfig.sh $(MGMT_RESOURCEGROUP) $(AKS_NAME) "$(MGMT_KUBECONFIG_FILE)"
.PHONY: mgmt.aks.kubeconfig

mgmt.aks.kubeconfigfile:
Expand Down
9 changes: 9 additions & 0 deletions dev-infrastructure/scripts/aks-kubeconfig.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
set -e

RESOURCEGROUP=$1
AKS_NAME=$2
FILENAME=$3

az aks get-credentials --overwrite-existing --only-show-errors -n ${AKS_NAME} -g ${RESOURCEGROUP} -f ${FILENAME}
kubelogin convert-kubeconfig -l azurecli --kubeconfig "${FILENAME}"

0 comments on commit ac5667e

Please sign in to comment.