Skip to content

Commit 7eb04bc

Browse files
rayaisaiahsanthoshmprabhuCopilot
authored
fix: use latest version of aks preview (#4269) (#4275)
* fix: use latest version of aks preview * fix: copilot suggested fix --------- Signed-off-by: Santhosh Prabhu <6684582+santhoshmprabhu@users.noreply.github.com> Co-authored-by: Santhosh Prabhu <6684582+santhoshmprabhu@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent cd2ab85 commit 7eb04bc

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.pipelines/templates/create-cluster.jobs.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@ jobs:
3030
set -e
3131
echo "Check az version"
3232
az version
33-
# if ${{ lower(contains(parameters.clusterType, 'dualstack')) }}
34-
# then
35-
# echo "Install az cli extension preview"
36-
# az extension add --name aks-preview
37-
# az extension update --name aks-preview
38-
# fi
39-
4033
4134
if ! [ -z ${K8S_VERSION} ]; then
4235
echo "Default k8s version, $(make -C ./hack/aks vars | grep K8S | cut -d'=' -f 2), is manually set to ${K8S_VERSION}"
@@ -46,8 +39,7 @@ jobs:
4639
mkdir -p ~/.kube/
4740
# make -C ./hack/aks azcfg AZCLI=az REGION=${{ parameters.region }}
4841
49-
#Temp fix for azcli aks preview bug
50-
az extension add --name aks-preview --version 14.0.0b3
42+
az extension add --name aks-preview --upgrade
5143
5244
make -C ./hack/aks ${{ parameters.clusterType }} \
5345
AZCLI=az REGION=${{ parameters.region }} SUB=$(SUB_AZURE_NETWORK_AGENT_BUILD_VALIDATIONS) \

0 commit comments

Comments
 (0)