-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{ACS} az aks approuting
: Creating commands for approuting enable|disable|keyvault as well as dns zone add|remove|list
#28463
Conversation
️✔️AzureCLI-FullTest
|
Hi @bfoley13, |
|
rule | cmd_name | rule_message | suggest_message |
---|---|---|---|
aks approuting | sub group aks approuting added |
||
aks create | cmd aks create added parameter enable_app_routing |
ACS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix failed CI checks.
This PR moves the implementation in aks-preview to official azure-cli
- [AKS] Approuting cli simplification azure-cli-extensions#6958
- [AKS] Fix for app routing CLI azure-cli-extensions#6968
- [AKS] Fix for
az aks approuting update
command azure-cli-extensions#7038 - [AKS] Fix for 'approuting update' command azure-cli-extensions#7197
- [AKS] Added support for Private DNS Zone Contributor role assignment in app routing azure-cli-extensions#7284
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_abort.yaml
Outdated
Show resolved
Hide resolved
...li/command_modules/acs/tests/latest/recordings/test_aks_api_server_authorized_ip_ranges.yaml
Outdated
Show resolved
Hide resolved
...es/acs/tests/latest/recordings/test_aks_approuting_update_with_monitoring_addon_enabled.yaml
Outdated
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py
Outdated
Show resolved
Hide resolved
@@ -10153,3 +10153,570 @@ def test_aks_upgrade_upgrade_settings(self, resource_group, resource_group_locat | |||
# delete | |||
self.cmd( | |||
'aks delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()]) | |||
|
|||
@AllowLargeResponse() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Queued live test to validate the change.
- test_aks_create_with_app_routing_enabled
- test_aks_approuting_enable_disable
- test_aks_approuting_enable_with_keyvault_secrets_provider_addon_and_keyvault_id
- test_aks_approuting_update
- test_aks_approuting_update_with_monitoring_addon_enabled
- test_aks_approuting_zone_add_delete_list
- test_aks_approuting_zone_update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created new run with latest changes
eee0452
to
d485908
Compare
az aks approuting
: updating commands for approuting enable|disable|keyvault as well as dns zone add|remove|list
az aks approuting
: updating commands for approuting enable|disable|keyvault as well as dns zone add|remove|listaz aks approuting
: Creating commands for approuting enable|disable|keyvault as well as dns zone add|remove|list
Full test CI failed due to the recording of test_aks_approuting_enable_with_keyvault_secrets_provider_addon_and_keyvault_id is not valid, reran the test, may find the recording file from pipeline artifact and commit the new one. |
/azp run |
Commenter does not have sufficient privileges for PR 28463 in repo Azure/azure-cli |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also resolve merge conflict
* Adding App Routing Support to acs * small updates * latest updates * KV changes * Moving kv handling to update decorator * update live tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
az aks approuting
: Creating commands for approuting enable|disable|keyvault as well as dns zone add|remove|listaz aks approuting
: Creating commands for approuting enable|disable|keyvault as well as dns zone add|remove|list
Related command
az aks
Description
The app routing add-on has migrated to the stable api for AKS. This PR adds the same features within the preview cli ti the az aks cli.
This adds a flag to cluster create for enabling the addon:
az aks create ... --enable-app-routing
This also adds the approuting sub command to az aks:
az aks approuting [enable|disable|update]
And the zone sub command to the approuting command:
az aks approuting zone [add|delete|update|list]
Testing Guide
History Notes
[ACS]
az aks create
: Add flag--enable-app-routing
to enable app routing[ACS]
az aks approuting
: Add command group to handle enable|disable|update of the approuting addon[ACS]
az aks approuting zone
: Add command group to handle add|delete|update|list actions of dns zone resources associated to the approuting addonThis 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.