Skip to content

Align configuration options for rad env create and rad env update commands#11774

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/align-config-options-rad-env-commands
Draft

Align configuration options for rad env create and rad env update commands#11774
Copilot wants to merge 2 commits into
mainfrom
copilot/align-config-options-rad-env-commands

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 28, 2026

Description

rad env create and rad env update had mismatched flag sets. create lacked cloud provider flags; update lacked --namespace. This PR unifies them.

Legacy rad env create — added --azure-subscription-id, --azure-resource-group, --aws-region, --aws-account-id, --output flags with provider handling in Validate/Run.

Legacy rad env update — added --namespace flag. Updates existing compute namespace in-place (preserving Kind and other fields) rather than replacing the whole Compute object.

Preview rad env create — added Azure, AWS, Kubernetes provider flags and --output flag with corresponding Validate/Run logic.

Tests added for all new flag combinations on both commands.

Type of change

  • This pull request adds or changes features of Radius and has an approved issue (issue link required).

Contributor checklist

Please verify that the PR meets the following requirements, where applicable:

  • An overview of proposed schema changes is included in a linked GitHub issue.
    • Yes
    • Not applicable
  • A design document PR is created in the design-notes repository, if new APIs are being introduced.
    • Yes
    • Not applicable
  • The design document has been reviewed and approved by Radius maintainers/approvers.
    • Yes
    • Not applicable
  • A PR for the samples repository is created, if existing samples are affected by the changes in this PR.
    • Yes
    • Not applicable
  • A PR for the documentation repository is created, if the changes in this PR affect the documentation or any user facing updates are made.
    • Yes
    • Not applicable
  • A PR for the recipes repository is created, if existing recipes are affected by the changes in this PR.
    • Yes
    • Not applicable

…mands

- Add Azure/AWS cloud provider flags to rad env create (legacy)
- Add namespace flag to rad env update (legacy)
- Add Azure/AWS/Kubernetes cloud provider flags to rad env create (preview)
- Add output flag to both create commands
- Add tests for new flags on both commands

Agent-Logs-Url: https://github.com/radius-project/radius/sessions/b4418f75-e63b-4b32-b644-aeeb44ab79d0

Co-authored-by: brooke-hamilton <45323234+brooke-hamilton@users.noreply.github.com>
Copilot AI changed the title [WIP] Align configuration options for rad env create and rad env update Align configuration options for rad env create and rad env update commands Apr 28, 2026
Copilot AI requested a review from brooke-hamilton April 28, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align configuration options for rad env create and rad env update commands

2 participants