Repository navigation
[ARO] Add az aro hcp subcommand to az aro - #34271
Kipp Morris (kimorris27) wants to merge 6 commits into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
Thank you for your contribution Kipp Morris (@kimorris27)! We will review the pull request and get back to you soon. |
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
Kipp Morris (@kimorris27) Reviewed head Paths below are relative to
|
All three findings under "Confirmed semantic findings" are valid. I'm working on addressing them. |
e12be62 to
eee3c83
Compare
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
🤖 PR Validation —⚠️ Review suggested
This PR adds warning or check suppressions. Fix the underlying warning where possible and justify each remaining suppression in a code comment or the PR description.
27 added suppressions
linter_exclusions.yml- parameter_should_not_end_in_resource_grouplinter_exclusions.yml- parameter_should_not_end_in_resource_grouplinter_exclusions.yml- parameter_should_not_end_in_resource_groupsrc/azure-cli/azure/cli/command_modules/aro/__init__.pyfrom .azext_aro_hcp._help import helps as _helps # pylint: disable=unused-importsrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_help.py# pylint: disable=line-too-longsrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_help.py# pylint: disable=too-many-linessrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_help.pyfrom knack.help_files import helps # pylint: disable=unused-importsrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_kubeconfig.pyexcept Exception as ex: # pylint: disable=broad-exceptsrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_params.py# pylint: disable=too-many-linessrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_params.py# pylint: disable=too-many-statementssrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_params.pydef load_arguments(self, _): # pylint: disable=unused-argumentsrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/commands.py# pylint: disable=too-many-linessrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/commands.py# pylint: disable=too-many-statementssrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/commands.pydef load_command_table(self, _): # pylint: disable=unused-argumentsrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/commands.pyself.command_table["aro hcp cluster nodepool list"] = NodepoolList(loader=self, table_transformer=nodepool_list_table_f…src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/commands.pyself.command_table["aro hcp cluster nodepool show"] = NodepoolShow(loader=self, table_transformer=nodepool_show_table_f…src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py# pylint: disable=too-many-linessrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py# pylint: disable=too-many-statementssrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.pyfrom azure.cli.core.aaz._arg_action import ( # pylint: disable=protected-accesssrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.pyargs_schema.key_management_mode._default = None # pylint: disable=protected-accesssrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.pyargs_schema.key_management_mode._required = True # pylint: disable=protected-accesssrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.pyargs_schema.user_assigned_identities._registered = False # pylint: disable=protected-accesssrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.pyargs_schema.operators_authentication._registered = False # pylint: disable=protected-accesssrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.pyargs_schema.container_registry_managed_identity._registered = False # pylint: disable=protected-accesssrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.pyargs_schema.user_assigned_identities._registered = False # pylint: disable=protected-accesssrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.pyargs_schema.operators_authentication._registered = False # pylint: disable=protected-accesssrc/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.pyargs_schema.container_registry_managed_identity._registered = False # pylint: disable=protected-accessRelated command
az aroDescription
This PR adds support for managing Azure Red Hat OpenShift HCP (hosted control plane) clusters via a new set of subcommands under
az aro hcp. We released a preview API and have been in public preview for a bit, and we are now preparing for GA.We used the azure-cli-extensions repo for our preview extension. This PR essentially moves the code from there to here, just without the preview messaging in the command help text. We will continue to use azure-cli-extensions for preview API versions and azure-cli for stable API versions, developing in azure-cli-extensions first and then moving things over here as we release new stable API versions.
Corresponding aaz PR: Azure/aaz#1140
Testing Guide
There are various subcommands under
az aro hcpthat need many arguments. It wouldn't make sense to list them all here. The integration tests have example commands, and we have tested the commands in internal hackathons.History Notes
[ARO]
az aro: Add theaz aro hcpsubcommand group for managing Azure Red Hat OpenShift with hosted control planes clustersThis 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.