Граф коммитов

228 Коммитов

Автор SHA1 Сообщение Дата
Tanmay Satam 3907e7cf3a
WI/MI CLI Phase 1 - Base API functionality (#3624)
* Update az aro extension version to 1.0.11

* Update az aro extension to use ARO v20240812preview SDK

* Implement --enable-managed-identity argument

* Implement --assign-platform-workload-identity argument

* Implement --mi-user-assigned argument

* Apply suggestions from code review

Co-authored-by: Kipp Morris <117932707+kimorris27@users.noreply.github.com>

* Add additional test cases

* Style/lint fixes + PR feedback

---------

Co-authored-by: Kipp Morris <117932707+kimorris27@users.noreply.github.com>
2024-07-23 11:34:45 -04:00
Ayato Tokubi 25a91572f9
fix lint error 2024-07-05 18:32:14 +01:00
kimorris27 47289ba59e `make client` 2024-06-18 11:38:56 -05:00
cadenmarchese 0c47ee7f2c fix typos, use semver 2024-05-30 13:48:54 -04:00
cadenmarchese 0db13aadf7 add field and type, make client, converters 2024-05-22 16:36:26 -04:00
Caden Marchese adc4836520
Add new initial fields to v20240812preview (#3478)
* Add new initial fields to v20240812preview
* update openshiftcluster_example.go
* add new fields to converter

Co-authored-by: kimorris27 <kimorris@redhat.com>
2024-04-08 09:26:41 -04:00
Tanmay Satam a1bc5175a5
`az aro`: Implement the multiple public IPs functionality against the ARO stable API (#3354)
* Use v2023_11_22 API in az aro extension
* Implement --load-balancer-managed-outbound-ip-count flag on az aro update
* Improve public-facing messaging on flag description/validation
* Bring managed outbound ips validation in line with other numeric validation
* Add flag to create command
* Increment az aro extension version to 1.0.10
2024-03-05 16:49:28 -07:00
Kipp Morris 8ee1b531ef
2024-08-12-preview API skeleton (#3419) 2024-02-29 12:37:28 -05:00
Tony Schneider af311a2d31
Back port v2023-11-22 Azure REST specs (#3420)
* ProvisioningState Cancelled -> Canceled
* add WorkerProfileStatuses to example openshift cluster
* add x-ms-enum header to ProvisioningState and PreconfiguredNSG
* make client
2024-02-26 15:15:33 -07:00
Tanmay Satam a861f41bb9
Update `az aro` permissions validation to mirror RP frontend validation (#3395)
* Update az aro permissions validation to mirror RP frontend validation

* refactor can_do_action to return boolean and shift error reporting to validate_resource
2024-02-19 14:45:25 -05:00
Tanmay Satam 9eb8db1e4e
Update cluster lifecycle API fields to readOnly (#3380)
* Exclude Python AAZ client from license hack script
* Update clusterProfile url, apiserverProfile url and ip, ingressProfile ip, systemdata to be readonly in v20231122 API
* Update swagger json (generated)
* Update API static validation tests and converter to respect readOnly fields
* Update generated client SDKs
2024-02-08 10:35:17 -07:00
Jory Horeman 3abcd30e5b
2023-11-22 stable API (porting 07-01-preview api) (#3300)
* adding 2023-11-22 stable

---------

Co-authored-by: b-jhoreman <b-jhoreman@microsoft.com>
2024-01-18 14:15:38 -07:00
Goutham Muguluvalli Niranjan 0dd1ec9300
Add defaults and update k8s dev version (#3245)
* add defaults and update k8s dev version

* update default of outbound_type

* no default set for disk enryption

* nit: fix style

---------

Co-authored-by: gniranjan <gniranjan@microsoft.com>
2023-11-01 10:02:06 -04:00
Ayato Tokubi 7579edebcf
fix graph error handling in az-aro command module (#3093) 2023-10-17 10:57:46 -04:00
Jory Horeman 2a16a3634c
upstreaming changes required by upstream CI (#3117)
Co-authored-by: b-jhoreman <b-jhoreman@microsoft.com>
2023-09-20 10:15:03 -06:00
Goutham Muguluvalli Niranjan 118f1a8fbc
Enable preconfigured NSG flag on azure-cli (#3112)
* enable preconfigured NSG flag on azure-cli

* fix option length too long UT failure

* add network contributor role to BYO-NSGs when preconfigured NSG feature is enabled

* remove feature check and print subnets with no NSG

* use arg_type=get_three_state_flag()

* include subnets from worker_Profiles_Status

* add worker_profiles_status to mock class

* fix grammers

---------

Co-authored-by: gniranjan <gniranjan@microsoft.com>
2023-09-19 10:06:09 -06:00
Goutham Muguluvalli Niranjan dba48c1f0c
Add worker profile status (#3053)
* add workerProfilesStatus field to hold the enriched worker profile data

* update swagger

* swagger examples

* update clients

* resolve golint

* update defaults

* validate worker Profile status is nil in input request

* make client changes after rebase

* rebase

* update workerProfiles references and UTs

* fix golint errors

* remove duplicate logic of verifing workerProfilesStatus not nil

---------

Co-authored-by: gniranjan <gniranjan@microsoft.com>
2023-09-05 14:56:27 -04:00
Tanmay Satam 690c43156d
Reduce diffs between our `az aro` extension and the upstream Azure CLI command (#3125)
* Reduce whitespace differences

* Refactor rp_mode_development() calls
2023-09-01 10:14:43 -04:00
Tony Schneider aa61608c9f
Preview api lb profile (#3020)
* add LoadBalancerProfile to v20230701preview
2023-07-28 16:03:54 -06:00
Nont b9a207e7a1
Add preconfigured NSG to 2023-09-04 api (#3062) 2023-07-28 13:10:53 -04:00
Tony Schneider 861bdb9cb4
fix API Skeleton file permissions (#3055) 2023-07-24 12:19:30 +02:00
Goutham Muguluvalli Niranjan f9ee191ad8
skeleton for 20230904 (#3048)
* skeleton for 20230904

* Update .sha256sum

---------

Co-authored-by: gniranjan <gniranjan@microsoft.com>
2023-07-21 12:16:46 -04:00
tschneid 2714d67213 additional test cases 2023-07-19 11:54:39 +02:00
tschneid bb08bf7d96 raise error if using UserDefinedRouting incorrectly 2023-07-19 11:54:39 +02:00
tschneid 38c886f078 default to empty outboundtype, let RP decide 2023-07-19 11:54:39 +02:00
tschneid d818ce8abd update missed versions 2023-07-19 11:54:39 +02:00
tschneid 1bdd06390a bump api version 2023-07-19 11:54:39 +02:00
tschneid b39adcccaf add outbound-type param to az cli extension 2023-07-19 11:54:39 +02:00
Tony Schneider bcd60e807f
initial scaffolding for preview api (#2972) 2023-06-20 18:56:30 -04:00
Tony Schneider 477c735fd2
Reconcile upstream changes / remove Network SDK (#2851)
* sync with upstream
* remove network sdk from _validators.py
* ignore licensing in python/az/aro/azext_aro/aaz
* display command flag for get_subnet error message
* move import to top of file
2023-06-06 09:59:59 -06:00
Carlo Wisse 24a70ea611
Updated OutboundType to include comment for Swagger generation - Updated Swagger Readmes (#2920)
* Updated OutboundType to include comment for Swagger generation and linting fix upstream. Updated swagger readmes for new API.

* Added xmsEnum

* Re-word description for OutboundType
2023-06-05 19:01:04 -04:00
David Squirrell bd7e1441b1
ARO-2887 - Add az aro validate functionality to az aro create (#2906) 2023-05-25 09:40:09 +02:00
Steven Fairchild 9984b7f9f4 Update az aro --pull-secret help example output
This is to simplify the help output for az aro create --help. An @ symbol is no longer required before the pull secret file.
2023-05-04 15:23:55 -04:00
Tony Schneider 23b52a40a0 fix typo 2023-04-12 11:16:37 -04:00
Tony Schneider 41e472ed8a generate clients 2023-04-12 11:16:37 -04:00
Tanmay Satam 6802c77aae Rename get-admin-kubeconfig method name to match command 2023-03-23 13:57:15 -04:00
Tanmay Satam 8d5d2092bd Remove feature flag check from az aro get-admin-kubeconfig 2023-03-23 13:57:15 -04:00
Ellis Johnson 54883f70b9
Az aro validate cmd (#2517)
Co-authored-by: Spencer Amann <samann@redhat.com>
2023-03-23 15:02:22 +11:00
Carlo Wisse 06356808f6 ran make client with new api version 2023-02-22 16:35:08 -05:00
bennerv 13d7dbd9cb Remove all old SDN fields that are no longer relevant to newest API ARO
is using
2023-02-21 08:52:52 -05:00
David Newman f8f3a4365f
Change az aro create install-version argument to version (#2655) 2023-01-25 10:03:23 +10:00
Srinivas Atmakuri d9b3829bcc
CLI errors if WorkerProfiles do not have subnets (#2044)
When enrichment fails on a cluster's WorkerProfiles and no SubnetIDs are
associated with them, the CLI errors with a key not found as it attempts
to break apart the resource ID of an empty string.

This commit handles the above issue.

WorkItem: https://msazure.visualstudio.com/AzureRedHatOpenShift/_workitems/edit/12670363
2023-01-24 11:27:07 +11:00
Steven Fairchild 07a08c6b59 Update az aro extension to support specifying --pull-secret file without @ prefix
Update az aro extension to handle reading the pull-secret file directly without having to prefix the path with @.
https://github.com/Azure/ARO-RP/issues/2110
2022-12-08 11:53:27 -05:00
darthhexx 1b0728caf7 Change the version iteration to suit the latest round of API changes 2022-11-22 15:49:28 +10:00
Christoph Blecker 92859ec12b
Generate API/clients 2022-11-16 10:38:00 -08:00
Andrew Denton 0a6f9968d7 Microsoft-requested changed for API acceptance, next round 2022-11-07 12:33:42 -05:00
Andrew Denton 32679f39fd Microsoft-requested changes for API acceptance 2022-11-07 12:33:42 -05:00
Amit Arora 470b25fcd7
add network contributor to NAT gateway (#2394)
Co-authored-by: Amit Arora <amarora@amarora.pnq.csb>
2022-10-31 07:36:16 +11:00
darthhexx d47c4a002a Fixes required for OpenShiftVerions API changes 2022-09-28 15:09:52 +10:00
Ross Bryan 7812c70247 make client 2022-09-20 11:56:02 -04:00