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

30 Коммитов

Автор SHA1 Сообщение Дата
Rajdeep Chauhan 1e3f475416
ARO-4518 pass custom manifests(MIWI) to hive cluster deployment as secret (#3841)
* ARO-4518 pass custom manifests to hive cluster deployment as secret

* ARO-4518 add unit test cases
2024-09-17 10:30:45 -04:00
Maitiú Ó Ciaráin 5920a27702
Drop SyncSets check (#3723) 2024-07-26 15:41:07 +10:00
Srinivas Atmakuri 6e8e4e1870
HiveNamespace to use docID/clusterID for new Installs (#2992)
HiveNamespace currently uses aro-<uuid>, this change is an effort
to unify UUIDs accross cluster doc instead of having multiple,
by pointing HiveNamespace to docID so this can be leveraged later.

More Details: https://redhat-internal.slack.com/archives/C02ULBRS68M/p1686806655273309
2024-02-05 12:45:28 +11:00
Tanmay Satam f421bac527 Rename installLogsForDeployment to indicate latest deployment 2023-11-17 11:31:04 -05:00
Tanmay Satam e9e3c7a89d Implement generic handling for Hive ProvisionFailed=True conditions w/ Azure policy errors 2023-11-17 11:31:04 -05:00
Tanmay Satam a0cc0eec38
Patch Hive ClusterDeployment rather than update it (#3244) 2023-11-01 12:25:27 -04:00
Daniel Holmes 386753af33
Remove reliance on hiveclient set which in-turn relies on openshift installer (#2806)
* chore(hive): Replace hive clientset with controller-runtime client

* chore(hive): Replace clientset with controller-runtime

* chore(vendor): Tidy dependencies up

* chore(hive): Remove vendored clientset
2023-06-02 12:21:09 +10:00
Spencer Amann ef63da4bf6 allow for optional clustermanager 2023-02-14 15:21:54 -05:00
Spencer Amann cd1329ab47 directly injects hive.ClusterManager to the frontend
adds basic e2e test for new admin api
2023-02-14 15:21:54 -05:00
Spencer Amann fb271d81d8 implements geneva action to retrieve clusterdeployment cr
- frontend creates hive.ClusterManager via on-demand factory
2023-02-14 15:21:54 -05:00
darthhexx ee0af9b561 Exit if we enter ProvisionFailed status 2022-11-21 17:58:49 +10:00
darthhexx 1f678c3b87 M6: enable install-version selection for Hive adoption and installs 2022-09-05 12:08:56 +10:00
Amber Brown ee1eb8fd64 wait for the install by checking the CR 2022-08-30 14:10:00 +10:00
Amber Brown 7c3a56c8ab make api.OpenShiftVersion an argument to hiveclustermanager.Install 2022-08-30 13:33:30 +10:00
Amber Brown 078064251c initial m5 hive cluster document creation 2022-08-30 13:33:30 +10:00
Mikalai Radchuk 235b4c8044 Adds hive logging support 2022-08-02 16:22:29 +01:00
Mikalai Radchuk c2b17318a4
Makes clusterManager use client interfaces (to enable unit testing) (#2297) 2022-08-02 17:20:55 +02:00
Mikalai Radchuk 2ef236a707 Moves resource generation out of CreateOrUpdate 2022-08-02 09:00:55 +01:00
Mikalai Radchuk c0a5511cc2 Fixes the issue with outdated cluster doc
If we store a cluster doc or sub doc in clusterManager
struct we risk it getting outdated during the lifetime
of the clusterManager.
2022-08-01 16:19:30 +01:00
Mikalai Radchuk dac497c7a3
`ClusterManager` refactoring (#2287)
* Drops `CreateOrUpdateParameters` from `pkg/hive`.
  We now pass sub doc and cluster doc into the cluster manager instead
  having params struct.
* Minor renamings and extra comments
2022-07-29 16:22:42 -04:00
Mikalai Radchuk 8cf71ab8f5 Renaming constructors 2022-07-29 14:35:14 +01:00
Amber Brown d9f33a0dc6 consistently use our uuids 2022-07-27 15:07:29 +10:00
Amber Brown 2564ba5ec1
Merge pull request #2261 from m1kola/remove_IsConnected
Remove `IsConnected` from `ClusterManager` interface
2022-07-25 10:20:45 +10:00
Mikalai Radchuk 975baa2210 Makes ClusterDeployment private endpoint aware 2022-07-20 11:31:31 +01:00
Mikalai Radchuk 3c3298632f Removes IsConnected from ClusterManager interface 2022-07-19 13:45:10 +01:00
Mikalai Radchuk 4541493a61 Hive cluster manager: do not error deletion on 404 2022-07-11 19:13:02 +01:00
Mikalai Radchuk 7dd07df227 Updates hive ClusterManager
ClusterManager interface and implementation is now updated to support
both creation and update of the hive resources which
enables both post-installation adoption and adoption of the existing
cluster fleet.
2022-07-08 11:55:01 +01:00
Ulrich Schlueter 35fa34d083 Adds removal from Hive on cluster deletion 2022-07-06 12:46:23 +01:00
Ulrich Schlueter 3d8654a1a7 Register cluster with hive at install time 2022-07-05 16:16:56 +01:00
Amber Brown 3bf02a0f8f add an initial hive client manager 2022-07-04 13:13:56 +01:00