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

293 Коммитов

Автор SHA1 Сообщение Дата
Amber Brown 394fe2505d
Bump image mirroring versions for go-toolset and MUO, and add Mariner 2.0 (#2651) 2023-01-27 11:33:41 +11:00
Mikalai Radchuk bfa3552ba5 Removes dependency on a versioned image registry client 2023-01-18 15:22:02 -05:00
Mikalai Radchuk 0d0e7e43e3 Removes dependency on a versioned operator client 2023-01-18 17:07:28 +00:00
Mikalai Radchuk e3cdc1342d Removes dependency on versioned config client 2023-01-18 11:48:54 +00:00
Mikalai Radchuk 94446ee6ae Makes split client injection explicit 2023-01-18 10:04:21 +00:00
Mikalai Radchuk 7f1118c72c Removes dependency on consoleclient 2023-01-17 10:51:47 +00:00
Mikalai Radchuk ec7cb16295 Removes dependency on a versioned ARO client
Operator is not longer dependant on a version client for ARO objects
and is now using a split client.
2023-01-16 16:50:16 +00:00
Amber Brown 2876a8e64c
Revert "Database tests are placed in tests/database." (#2629)
This reverts commit 39326bca8c.
2023-01-12 16:40:19 +11:00
Amber Brown 57da7367e9
update to new MUO image (#2628) 2023-01-12 14:39:39 +11:00
Mikalai Radchuk d0d50f679e Reduces the number of non-cached API server calls 2023-01-11 15:04:36 +00:00
Mikalai Radchuk 556fb820b3 Splits ingress checker into a separate controller 2022-12-19 13:37:42 +00:00
Steven Fairchild 39326bca8c Database tests are placed in tests/database.
httptest is used to send http responses.
Add Mock for databaseaccounts.
Add DatabaseClient, MasterKeyClient interfaces to allow for mock testing.
Add unit tests for subscriptions.
Add billing unit tests.
Add default http.Client to database.go, update references to use DatabaseClient interface. This will keep from importing "net/http" in every package calling it and allow easy changing within database if needed."
Add unit tests for clustermanager in database package
Add asyncoperations unit tests.
Add monitor tests.
Add gateway unit tests.
Add openshiftversions tests.
Add portal tests.
Add openshiftclusters tests.

Tests for billing and subscriptions are placed in test/database to reuse
fake testing code due without import cycling.
2022-12-16 13:03:07 -05:00
Mikalai Radchuk 340ebb161f Splits DNS checker into a separate controller 2022-12-14 16:13:47 +00:00
Mikalai Radchuk 3e69b7e742 Splits SP checker into a separate controller 2022-12-14 14:01:49 +00:00
Mikalai Radchuk d5485932f4 Split internet checker into a separate controller 2022-12-13 23:26:42 +00:00
Mikalai Radchuk a928f0ea2c Adds debug logs to controllers 2022-12-07 14:49:02 +00:00
Arris Li 1f4b3f56b3
Add ARO ingress controller (#2337)
* test

* test

* add ingress controller replica checker

* cleanup

* lint fix

* bug fix and update unit tests

* remove commented code

* lint fix

* add license in test

* fix validate warning

* add replica validation in unit test

* refactor to ingress controller

* comment update

* remove unused code

* reformat to pass go-validate

* fixing e2e test

* fix SetupWithManager

* attempt to fix E2E timeout issue

* update SetupWithManager func

* ingress controller init logic
2022-11-03 11:13:29 +11:00
Ross Bryan 9b492f94c3 refactor openshiftversion implementation code 2022-09-20 09:28:09 -04:00
Ross Bryan 2d076a8242 create clustermanager api definitions, wire up cosmosdb 2022-09-14 09:57:29 -04:00
darthhexx 127f0caf52 Hive image with CLI Image domain override support 2022-09-07 21:45:08 +10:00
darthhexx 1f678c3b87 M6: enable install-version selection for Hive adoption and installs 2022-09-05 12:08:56 +10:00
Ben Vesel e198bcaf45
Merge pull request #2365 from cadenmarchese/add-azcli-container-image
Add `mcr.microsoft.com/azure-cli` image to mirror
2022-08-30 13:49:25 -04:00
cadenmarchese af70f7fb8d add azure-cli image to mirror 2022-08-30 12:18:47 -04:00
David Newman 0609cee051
Merge pull request #2334 from ellis-johnson/create-update-aro-openshift-versions-command
Create update OpenShift versions command
2022-08-30 12:24:04 +10:00
Ellis Johnson 8587b0f5b0 Differentiate which Authorizer fails 2022-08-29 11:45:36 +10:00
darthhexx 5f4e079e9c Use the constants from util.Version until we add the additional M6 versions 2022-08-26 13:09:16 +10:00
darthhexx 7f86286539 Quote the version in the info message 2022-08-26 12:04:14 +10:00
darthhexx af04cb6b13 Use the string map for lookups and rename vars to clarify flow 2022-08-26 12:02:44 +10:00
darthhexx c2f8cb2641 Ensure the DST_ACR_NAME env variable is set 2022-08-26 12:01:09 +10:00
darthhexx 410f0b1cbf Add the missing / in the image path 2022-08-26 12:00:36 +10:00
David Newman de41551a36
Merge pull request #2342 from darthhexx/hive-update-mirror-hash
Update Hive image mirror tag
2022-08-26 10:16:35 +10:00
Ellis Johnson 6a7ac8a004 Finished update-versions command 2022-08-25 17:27:17 +10:00
Ellis Johnson a5957d3cbb Added real 4.10 and 4.11 versions and added ignore list 2022-08-25 17:26:12 +10:00
Ellis Johnson 4ca299f50d Created simple aro cmd to update ocp versions 2022-08-25 17:26:12 +10:00
Amber Brown 115421ffd2 add the openshiftversions to the frontend 2022-08-25 13:31:19 +10:00
darthhexx 5b720bb768 Update the Hive image SHA for mirroring. 2022-08-24 13:01:36 +10:00
darthhexx c8b2016ec1 Merge the Red Hat repo mirror loops and use the correct auth depending on repo domain. 2022-08-24 13:01:36 +10:00
Amber Brown d9e63cceb8
[M4/M5/M6] Read Hive kubeconfig from AKS live (#2325) 2022-08-23 17:09:53 +02:00
Amber Brown e93e0b88d3
Merge pull request #2246 from bennerv/fix-mirror-specific-version
Fix broken mirror specific version arg
2022-07-29 09:54:07 +10:00
Amber Brown 831cd7a676
Merge pull request #2195 from hawkowl/hawkowl/deterministic-uuid
[M6] Generate database UUIDs in a way that can be deterministic for testing
2022-07-29 09:27:14 +10:00
Ulrich Schlueter d6722882e9
Monitor Hive ClusterDeployment conditions (#2175)
Co-authored-by: Ulrich Schlueter <uschlueter@redhat.com>
2022-07-27 11:21:45 +01:00
Amber Brown d9f33a0dc6 consistently use our uuids 2022-07-27 15:07:29 +10:00
bennerv 67d427d1ce Fix broken mirror specific version arg 2022-07-20 14:52:04 -04:00
Amber Brown 3d3b016f4d mirror latest version of MUO (replace version that was never deployed) 2022-07-18 11:54:31 +10:00
Ross Bryan 95d192c35f create new api version, make client 2022-07-05 17:40:36 -04:00
Amber Brown 00ca23d8f6 add default ingress certificate check and default cluster dns check 2022-06-24 14:33:54 +10:00
cadenmarchese 46eeb0fe3f add required build images to mirror 2022-06-15 11:59:36 -04:00
Amber Brown 451beab138 mirror MUO and Hive images to ACR 2022-06-14 11:32:24 +10:00
Ulrich Schlueter 5bb1018ad4
Add an option to send metrics via UDP instead of Unix Domain Sockets (#2074) 2022-05-31 11:08:55 +01:00
darthhexx e01b7da31a Switch maoclient -> machineclient and maofake -> machinefake 2022-05-25 14:49:46 +10:00