{AKS} az aks mesh: update test files to reflect istio lts support#31810
{AKS} az aks mesh: update test files to reflect istio lts support#31810zhoxing-ms merged 1 commit intoAzure:devfrom
az aks mesh: update test files to reflect istio lts support#31810Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Pull Request Overview
This PR updates Azure CLI test recording files to reflect changes in the AKS Istio add-on API response structure that now supports AKS LTS (Long Term Support) versions. The API now returns two separate compatibility entries for each mesh revision - one for standard Kubernetes versions and another for AKS LTS versions.
Key changes:
- Updated test recordings to include both "KubernetesOfficial" and "AKSLongTermSupport" compatibility entries
- Changed the naming from generic "kubernetes" to specific "KubernetesOfficial"
- Added duplicate version arrays for AKS LTS support in each mesh revision
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test_aks_azure_service_mesh_with_pluginca.yaml | Updated mesh revision compatibility data with LTS support |
| test_aks_azure_service_mesh_with_ingress_gateway.yaml | Updated mesh revision compatibility data with LTS support |
| test_aks_azure_service_mesh_get_upgrades.yaml | Updated mesh revision compatibility data with LTS support |
| test_aks_azure_service_mesh_get_revisions.yaml | Updated mesh revision compatibility data with LTS support |
| test_aks_azure_service_mesh_enable_disable.yaml | Updated mesh revision compatibility data with LTS support |
| test_aks_azure_service_mesh_canary_upgrade.yaml | Updated mesh revision compatibility data with LTS support |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
az aks mesh: update test files to reflect istio lts support
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Related command
az aks mesh get-revisions
az aks mesh get-upgrades
Description
To support AKS LTS versions, istio add-on api will return two items in the
compatiableWitharray for each revision. One entry is the Kubernetes versions this revision supports, the other the AKS LTS versions.compatiableWithhas always been an array and the current cli implementation supports this change, so this pr just updates the testcases to reflect the api response change.Testing Guide
az aks mesh get-revisionsreturnsHistory Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.