-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{ACS} az aks create: Revert the changes to make --no-ssh-key default behaviour
#32231
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
Conversation
️✔️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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR reverts changes that made --no-ssh-key the default behavior for az aks create commands. The revert restores the previous SSH key validation logic and removes associated test coverage that was added to validate the new default behavior.
- Reverts SSH key validation to require explicit SSH key provision or generation
- Removes test case that validated the no-SSH-key default behavior
- Updates help documentation to remove references to the new default behavior
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| test_aks_commands.py | Removes the test_aks_create_no_ssh_key test method and its associated test recording |
| test_aks_create_no_ssh_key.yaml | Removes the entire test recording file for the no-SSH-key test case |
| _validators.py | Reverts SSH key validation logic to raise an error instead of defaulting to no-SSH-key |
| _help.py | Updates help text to remove references to the new default no-SSH-key behavior |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
az aks create: Make --no-ssh-key default behaviour"az aks create: Revert the changes to make --no-ssh-key default behaviour
az aks create: Revert the changes to make --no-ssh-key default behaviouraz aks create: Revert the changes to make --no-ssh-key default behaviour
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
The PR description is incorrect. #32115 is the reverted PR. |
Reverts #32115
[Breaking change to be released in the following iteration]