mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-26 19:11:04 +00:00
temp: ci: Fix AKS cluster creation
The AKS CLI recently introduced a regression that prevents using aks-preview extensions (Azure/azure-cli#31345), and hence create CI clusters. To address this, we temporarily hardcode the last known good version of aks-preview. Note that I removed the comment about this being a Mariner requirement, as aks-preview is also a requirement of AKS App Routing, which will be introduced soon in #11164. Signed-off-by: Aurélien Bombo <abombo@microsoft.com>
This commit is contained in:
parent
706c2e2d68
commit
1de466fe84
@ -92,8 +92,10 @@ function enable_cluster_http_application_routing() {
|
||||
|
||||
function install_azure_cli() {
|
||||
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
|
||||
# The aks-preview extension is required while the Mariner Kata host is in preview.
|
||||
az extension add --name aks-preview
|
||||
|
||||
# TODO: Remove the version spec when this bug is fixed:
|
||||
# https://github.com/Azure/azure-cli/issues/31345
|
||||
az extension add --name aks-preview --version 14.0.0b3
|
||||
}
|
||||
|
||||
function login_azure() {
|
||||
|
Loading…
Reference in New Issue
Block a user