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

6987 Коммитов

Автор SHA1 Сообщение Дата
Ben Vesel 7838c00f6b
Merge pull request #3704 from slintes/fix-muo--reconcile
Fix Managed Upgrade Operator reconciler
2024-07-18 09:23:01 -04:00
BCarvalheira e7b3fe66d8 Preflight update and tests 2024-07-18 05:23:43 -07:00
Ayato Tokubi 4e46fd2d84
check CO availability 2024-07-18 12:04:38 +01:00
Nicolas Ontiveros ce31826325
Update Go to 1.21 (#3698)
* Update ci-go

* Update go toolset

* Update prepare shared rp dev

* Update prepare your dev

* More 1.21 updates

* more changes

* save work

* test

* tidy up

* Add license to typealker test
2024-07-18 17:35:06 +10:00
Amber Brown f1fbd0feb2
Try and get the NewMonitor/Frontend/etc mess under control (#3690)
* make a db wrapper

* add the other fields

* mechanical changes

* instantiate

* remove clustermanager code

* implement in portal too
2024-07-18 08:25:32 +10:00
Marc Sluiter 6c58f10c9b
Extend unit test with new annotation 2024-07-17 22:35:56 +02:00
Marc Sluiter 486b50838b
Copy new ca bundle ConfigMap annotation 2024-07-17 22:20:42 +02:00
Tanmay Satam 320751aeae
Update go.sum (#3703) 2024-07-17 15:23:25 -04:00
Maitiú Ó Ciaráin 28ced6807d
Merge pull request #3688 from Azure/tsatam/hotfix-add-cpms-e2e-test
Add cpms e2e test
2024-07-17 17:36:38 +02:00
Maitiú Ó Ciaráin eec4b7add2
Merge pull request #3694 from Azure/fixup-cluster-sp-object-id
pkg/cluster: Use Action for fixupClusterSPObjectID
2024-07-17 09:49:33 +02:00
Maitiú Ó Ciaráin d2d06a8c25
Merge pull request #3687 from Azure/kimorris27/hotfix-compute-api-version
Hotfix: compute API version used in ARM templates
2024-07-17 09:44:33 +02:00
Amber Brown 81f22cb8c8
Clean up some duplicated code in cmd/ (#3648)
* move some repeated code into pkg/util/service/

* cleanups in cmd/aro

* update_ocp_versions does not need AEAD

* cache the authorisers rather than recreating them

* env mock updates

* move stuff around from review
2024-07-17 16:29:39 +10:00
Amber Brown 94cd8d7f27
[ARO-9169] Remove disused clustermanager frontend code (#3642) 2024-07-17 09:39:37 +10:00
Steven Fairchild 639fd8698e Bug fix - Add nil pointer check for LoadBalancerProfile in cluster metrics 2024-07-16 05:50:15 -07:00
ehvs ffca22b0ba pkg/cluster: Use Action for fixupClusterSPObjectID 2024-07-16 13:51:01 +02:00
Amber Brown d9800f0e7d
Update controllergen commands to work with 0.9.0 (#3680)
* update controllergen commands to work with 0.9.0

* changes from yaml output

* go mod vendor
2024-07-16 19:10:56 +10:00
Maitiú Ó Ciaráin 7384422fe5
Merge pull request #3693 from Azure/atokubi/e2e-panic
fix dev env panic in e2e
2024-07-16 08:53:03 +02:00
Amit 49af5c640a CIF - ServerError: ZonalAllocationFailed 2024-07-16 11:19:33 +05:30
Tanmay Satam 5058657675 Fix parameters on getter function 2024-07-15 16:09:03 -04:00
Tanmay Satam 82c01589bd Fix controller name in skip condition 2024-07-15 16:09:01 -04:00
Tanmay Satam 08f1bd9f2d Add E2E test to ensure CPMS is disabled by ARO operator 2024-07-15 16:07:43 -04:00
Tanmay Satam 934d8fb2e5 Update generated files 2024-07-15 16:07:43 -04:00
Tanmay Satam 976404a1ab Update openshift/client-go to release-4.12 2024-07-15 16:07:43 -04:00
Caden Marchese 30061211bc
Add doc on rotating full RP env VPN certs (#3544)
* Add doc on rotating full RP env VPN certs

* remove ./ from source commands

* use ./ when sourcing the hack script
2024-07-15 09:44:43 -05:00
Ayato Tokubi 5c96d96239
fix dev env panic in e2e 2024-07-15 13:12:17 +01:00
Amber Brown 31af734103
[ARO-5368] Try and log the VM info + console log on failure (#3629)
Dumps the VM info + console logs on failure so that we don't need to run the Geneva Action or have the control plane still around to get it. Also refactors frontend and geneva action to make use of the same code path.
2024-07-15 16:32:23 +10:00
kimorris27 7fabe1569b Fix disk encryption set in a different place and `make generate` again 2024-07-12 14:59:15 -05:00
kimorris27 8c5e5d6af9 Fix disk encryption set version and `make generate`
The 2024-03-01 API version doesn't seem to work with disk encryption sets, so I used the version that's already in the map.
2024-07-12 14:22:43 -05:00
kimorris27 9bab3334b1 `make generate` 2024-07-12 14:11:21 -05:00
kimorris27 8889acfa44 Add comment to clarify purpose of apiVersions map 2024-07-12 14:07:46 -05:00
kimorris27 6e03c60184 Replace the compute API version with the latest stable version
For context, this version needs to be replaced because I encountered an
error while trying to deploy shared RP dev infra that indicates that the
2021-12-01 version somehow doesn't exist anymore:

DeploymentWhatIfResourceError - The request to predict template deployment changes to scope '/subscriptions/redacted-sub-id/resourceGroups/v4-westeurope' has failed due to a resource error. See details for more information.
NoRegisteredProviderFound - No registered resource provider found for location 'westeurope' and API version '2021-12-01' for type 'virtualMachineScaleSets'. The supported api-versions are '2015-05-01-preview, 2015-06-15, 2016-03-30, 2016-04-30-preview, 2016-08-30, 2017-03-30, 2017-10-30-preview, 2017-12-01, 2018-04-01, 2018-06-01, 2018-10-01, 2019-03-01, 2019-07-01, 2019-12-01, 2020-06-01, 2020-12-01, 2021-03-01, 2021-04-01, 2021-07-01, 2021-11-01, 2022-03-01, 2022-08-01, 2022-11-01, 2023-03-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01'. The supported locations are 'eastus, eastus2, westus, centralus, northcentralus, southcentralus, northeurope, westeurope, eastasia, southeastasia, japaneast, japanwest, australiaeast, australiasoutheast, australiacentral, brazilsouth, southindia, centralindia, westindia, canadacentral, canadaeast, westus2, westcentralus, uksouth, ukwest, koreacentral, koreasouth, francecentral, southafricanorth, uaenorth, switzerlandnorth, germanywestcentral, norwayeast, jioindiawest, westus3, swedencentral, qatarcentral, polandcentral, italynorth, israelcentral, spaincentral, mexicocentral, brazilsoutheast'.
2024-07-12 14:05:48 -05:00
Tanmay Satam 1b6e0e7584
Add controller to disable CPMS on ARO clusters (#3660)
* Update openshift/api to release-4.12

* Add machinev1 resources to scheme

* Add CPMSDeactivatorEnabled flag

* Add CPMS Deactivator operator controller

* Add controlplanemachinesets to system:aro-sre ClusterRole

* Use better naming convention for CPMS controller flag

* Change debug log messages to info

* Make CPMS controller exit early if clusterversion < 4.12

* Only setup CPMS controller on clusters with machinev1 API

This is necessary in order to Watch the CPMS resource - this operation will fail on
clusters that do not support the Machine V1 API (OCP <= 4.11), causing controller
setup to fail. Since these clusters do not have a CPMS resource to manage, we can
safely skip running this controller on those clusters.

* Fix CPMS controller name
2024-07-12 12:38:39 -06:00
Brendan Bergen f7c752b245
HOTFIX: correct local image names (#3682)
- eliminated TCP errors attempting to hit localhost:443 as a registry domain
- eliminated build failures caused by incorrect final tag name with unset envvars
2024-07-12 10:02:58 -06:00
Maitiú Ó Ciaráin 367a4799fd
Merge pull request #3600 from Azure/nwnt/trusted-launch-devproxy
Make dev-proxy use Trusted Launch
2024-07-12 08:53:47 +02:00
Maitiú Ó Ciaráin 3cd8bc51b4
Merge pull request #3617 from Azure/cadenmarchese/ARO-6449/go-script
New cmd to populate PlatformWorkloadIdentityRoleSets in dev and prod
2024-07-12 08:50:37 +02:00
Jonathan Chang c999a58ecc remove white space 2024-07-11 09:08:41 -07:00
Jonathan Chang 8e2eb0d678 add error 2024-07-11 09:02:22 -07:00
Jonathan Chang a0e4aafe79 fix azcore 2024-07-11 08:36:07 -07:00
Jonathan Chang 2b270a40fa change variable 2024-07-11 08:36:07 -07:00
Jonathan Chang 5854f87845 remove go mod confict 2024-07-11 08:36:07 -07:00
Jonathan Chang 32fbfb909b change cluster 2024-07-11 08:36:05 -07:00
Jonathan Chang 6a775b25fd add 2024-07-11 08:32:47 -07:00
Jonathan Chang cdda20ff43 replace with sdkdns 2024-07-11 08:32:47 -07:00
Jonathan Chang 58f5476bf9 fix ci 2024-07-11 08:32:47 -07:00
Jonathan Chang 6895ac78e8 add mock 2024-07-11 08:32:47 -07:00
Jonathan Chang 7ef1528154 fix lint 2024-07-11 08:32:47 -07:00
Jonathan Chang 8eca5665f1 remove white space 2024-07-11 08:32:46 -07:00
Jonathan Chang e5bf96e41a remove azidentity 2024-07-11 08:32:46 -07:00
jonachang 74374a9f90 create client and vendor for armdns 2024-07-11 08:32:46 -07:00
Nont 6b30e877f1 Fix lint 2024-07-11 09:20:56 -05:00