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

7225 Коммитов

Автор SHA1 Сообщение Дата
Amber Brown 0d1d4f5dc7 code for deleting 2024-11-21 12:41:17 +11:00
Amber Brown 86827c1566 update frontend to have create 2024-11-21 12:41:17 +11:00
Amber Brown 239226405b static validation 2024-11-21 12:41:17 +11:00
Amber Brown ef1401c20f renaming and tweaking 2024-11-21 12:41:17 +11:00
Amber Brown e3e27d2ff9 cancellation tests and impl 2024-11-21 12:41:17 +11:00
Amber Brown 65eb67870a test fixes 2024-11-21 12:41:17 +11:00
Amber Brown f519a8eede update with get 2024-11-21 12:41:17 +11:00
Amber Brown e4be577423 query + tests for maintenancemanifests 2024-11-21 12:41:17 +11:00
Amber Brown e9a940316e mimo API conversions for admin API 2024-11-21 12:41:17 +11:00
Amber Brown 7525466fd8 update db fakes for maintmanifests 2024-11-21 12:41:17 +11:00
Amber Brown 958b339427 update mimo DB to have a fetch which isn't just pending 2024-11-21 12:41:17 +11:00
Amber Brown a0285862b3 initial maint API 2024-11-21 12:41:17 +11:00
Amber Brown 5c5a107567 add MIMO to dev 2024-11-21 12:41:17 +11:00
Amber Brown fde486f523
[ARO-7182] Remove square/go-jose dependency (#3965)
* update dependency to go-oidc v3, and run go mod update

* go mod vendor
2024-11-20 09:44:05 -05:00
Kipp Morris e7f68662bf
Fix AKS connectivity (#3964)
* Restore missing serverFqdn parameter

* Fix validate-go
2024-11-20 07:51:57 -05:00
Tanmay Satam 65499d78a3
Ensure MSI readonly fields are set to '' in ExternalNoReadOnly converters (#3962) 2024-11-19 06:02:07 -08:00
Tanmay Satam f8133771c5
Do not try to set UpgradeableTo annotation in-cluster if it is empty (#3963) 2024-11-19 06:01:30 -08:00
Taylor Fahlman 8a03424fab
Merge pull request #3961 from Azure/tsatam/hotfix-clustermsi-followup
Follow-up fixes for #3957
2024-11-18 12:04:31 -08:00
Tanmay Satam 113da3d748 Remove etag property from test expectations as it no longer shows up in responses 2024-11-18 14:25:30 -05:00
Tanmay Satam a298c9e710 Add missing argument for FPNewClientCertificateCredential 2024-11-18 14:25:13 -05:00
Nicolas Ontiveros 0e78969cec
Merge pull request #3957 from Azure/niontive/ARO-6297
Support MSI in canary
2024-11-18 09:36:03 -08:00
Ayato Tokubi 0087b5330c
Merge pull request #3906 from Azure/jaitaiwan/ARO-11234
SDK2: Update containerservice to v6
2024-11-18 15:18:27 +00:00
Ayato Tokubi f22bef042e
SDK2: Replace old SDK in reconcile load balancer profile (#3923)
* migrate network sdk2 in loadbalancerprofile
* refactor comments
* fix "Could not find member 'Etag' on object of type 'TemplateResource'" error
2024-11-18 05:19:03 +00:00
Ayato Tokubi a0ecfcfb9a
use track2 sdk in createOrUpdateRouterIPEarly (#3919) 2024-11-18 05:18:35 +00:00
Ayato Tokubi ef15db22f7
SDK2: Replace old network SDK in ListResources Admin API (#3890)
* remove unused old routeTable client
* replace old virtual networks sdk to the new one
2024-11-18 05:18:19 +00:00
Daniel J. Holmes (jaitaiwan) a100c35a15 chore: Address PR feedback 2024-11-18 15:09:30 +10:00
Daniel J. Holmes (jaitaiwan) 7e9fb6804a chore: Remove unneeded TODOs 2024-11-18 15:09:30 +10:00
Daniel J. Holmes (jaitaiwan) ba6af03163 chore: Move to azuresdk folder 2024-11-18 15:09:30 +10:00
Daniel J. Holmes (jaitaiwan) c3aac1d8ea chore: vendor in containerruntime 2024-11-18 15:09:30 +10:00
Daniel J. Holmes (jaitaiwan) f9ba066cd3 fix: Remove generate as we no longer need mock 2024-11-18 15:09:30 +10:00
Daniel J. Holmes (jaitaiwan) b67e845302 feat: switch to containerservice v6 2024-11-18 15:09:30 +10:00
Rajdeep Chauhan 7708100181
ARO-12034 Fix CheckAccessV2 usage for MIWI dynamic validation (#3946)
* ARO-12034 Fix CheckAccessV2 usage for MIWI dynamic validation

* ARO-12034 resolve comments and update unit tests

* ARO-12034 updated comment for validateActionsByOID

* Initialize cluster MSI clients before dynamic validation in cluster update

---------

Co-authored-by: Tanmay Satam <tsatam@redhat.com>
2024-11-15 14:43:40 -05:00
Nicolas Ontiveros faa8f0f13b Fix nsg test 2024-11-15 10:26:32 -08:00
Alex Chvatal 6a37ae10da
add reminder that dev clusters don't show up in ARM (#3958)
add reminder that dev clusters don't show up in ARM
2024-11-15 13:22:51 -05:00
Nicolas Ontiveros 9719391dd5 Update cluster.go 2024-11-15 10:02:20 -08:00
Nicolas Ontiveros 5d6dea5057 Add additional tenants 2024-11-15 09:11:35 -08:00
Nicolas Ontiveros d50809453f Update msi-dataplane module tto v0.0.8 2024-11-15 07:45:03 -08:00
Taylor Fahlman 283043eaa0
Merge pull request #3954 from Azure/tsatam/heartbeat-emit-version-dimension
Emit version as a dimension on heartbeat metrics
2024-11-14 11:10:23 -08:00
Taylor Fahlman 6b51a35156
Merge pull request #3949 from Azure/s-fairchild/ARO-10816-resulttype-metric
Pass backendErr to emitMetrics
2024-11-14 11:09:55 -08:00
Tanmay Satam 0384e08a95 Emit version as a dimension on heartbeat metrics 2024-11-13 17:36:04 -05:00
Taylor Fahlman 6c56ef7d15
Merge pull request #3953 from Azure/ARO-12070-part-1
Realign CredentialsRequest to match current ARO operator role definition
2024-11-12 10:50:44 -08:00
Ayato Tokubi 9458ae478e
Fix if brackets (#3952) 2024-11-12 14:38:03 +01:00
Kipp Morris 59f60b004e
MIWI API converter fixes (#3950)
* Add missing Identity fields to API converters

* Properly convert PlatformWorkloadIdentityProfile from internal -> admin

* Do not clobber existing read-only fields on admin PUT/PATCH

* Fix silly mistakes...

* Fix unit test case
2024-11-11 13:02:51 -08:00
Taylor Fahlman bd1632b80d Realign CredentialsRequest to match current ARO operator role definition 2024-11-08 11:04:44 -08:00
Steven Fairchild 879258e4ae Pass backendErr to emitMetrics
nil was mistakenly being passed to emitMetrics, causing resultType to always fail collection due to the nil backendError provided.
2024-11-08 14:01:30 -05:00
Sanjana Lawande a73f54136e
confirm UsesWorkloadIdentity shared utility function is used everywhere in ARO-RP (#3932)
* confirm shared utility function is used everywhere in ARO-RP
2024-11-08 12:19:35 -05:00
Tanmay Satam d33d81b9c1
Support Update requirements for Workload Identity clusters (#3935)
* Do not clobber existing PlatformWorkloadIdentity readonly fields (clientid/objectid) on patch

* Ensure CSP-specific update steps only run for CSP clusters

* Ensure ClientId/ObjectIds are populated for all platform workload identities

* Ensure required federated identity credentials during cluster update

Note that additional work is still required to ensure this works as expected,
which will be handled in follow-up efforts.

* Add step to directly deploy platform workload identity credential secrets on-cluster during Update

* Refactor: extract mock platformWorkloadIdentityRolesByVersion setup to shared function

* Do not clobber existing ManagedServiceIdentity fields (IssuerURI) on patch

* Apply upgradeable-to annotation to cloudcredential resource via Patch

This avoids issues with e.g. having the wrong version of the resource struct
definition vendored into the RP.

* Fix az aro update request body handling

- Only pass in new/updated identities (RP will add these to the existing identity map during a patch operation)
- Only set the upgradeableTo property if it is explicitly set
2024-11-08 07:31:52 -08:00
Kipp Morris a60d631f4f
MIWI Cosmos DB key uniqueness fix (#3944)
* Fix Cosmos DB unique key issue for MIWI clusters and update existing unit tests to continue to pass

* Add test case that validates changes
2024-11-07 09:19:34 -08:00
Ben Vesel 19061696b9
Merge pull request #3940 from Azure/bvesel/remove-master-key-authorizer
remove master key authorizer in favor of local auth
2024-11-07 12:04:55 -05:00
Kipp Morris cc8f29c30b
Fix flaky unit test cases (#3945)
Tests now account for the fact that the actual code iterates over a map,
so the order can differ between test executions
2024-11-07 10:45:22 -05:00