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
Amber Brown
c554e98391
Drop some unneccessary dependencies by moving to `bingo` for tooling ( #3719 )
...
* Move to using bingo for tools
* go mod vendor
2024-09-05 15:29:19 +10:00
Maitiú Ó Ciaráin
5920a27702
Drop SyncSets check ( #3723 )
2024-07-26 15:41:07 +10:00
Amit
49af5c640a
CIF - ServerError: ZonalAllocationFailed
2024-07-16 11:19:33 +05:30
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
ae5c57b6a8
Add hack script to generate hive install-log-regexes.yaml from ARO definition
2023-11-17 11:31:04 -05:00
Daniel Ionel Bizau
0b7096dc43
add back cli-domain-from-installer-image ( #3277 )
...
Overriding the npm security alert to be able to hotfix the RP
2023-11-10 17:10:53 +01:00
Ben Vesel
35a5f16464
Bump Hive Version + Minimal Install ( #3260 )
...
* fix: match existing hive-config with production hive-config
* bug: bump hive version to use minimal install version and resolve vulns
* Remove oc-cli domain annotation
2023-11-02 12:56:26 -04:00
Tanmay Satam
a0cc0eec38
Patch Hive ClusterDeployment rather than update it ( #3244 )
2023-11-01 12:25:27 -04:00
Ben Vesel
af5f8260e8
bug: Keep cli-domain-from-installer-image until we use minimal hive version ( #3257 )
2023-10-31 13:35:10 -04:00
Ben Vesel
c473088c75
Hive Minimal Install Annotation on ClusterDeployment ( #3243 )
...
* Add annotation for hive minimal install
* Remove cli-domain annotation and use installAttemptsLimit instead of annotation
2023-10-30 11:39:16 -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
Amber Brown
e15e78c719
Remove initial installer dependencies ( #2842 )
2023-06-01 14:30:16 +10:00
Aldo Fuster Turpin
fb5683dfb3
create test functions for error comparison ( #2614 )
...
refactor: create functions for error comparison in test files
2023-04-06 14:15:15 +02: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
Amber Brown
127b0565f1
Migrate E2E to 1ES pool ( #2638 )
...
This doesn't include portal tests, those will follow.
2023-01-31 10:10:05 +11:00
Aldo Fuster Turpin
d230a7f95b
Fix/do not adopt hive created clusters during pucm ( #2644 )
...
* fix: do not adopt Hive created clusters during PUCM
* testing: add unit tests for adminUpdate() and runHiveInstaller()
2023-01-26 11:47:36 +01:00
David Newman
2268445408
Set the APIURLOverride with the internal API URL ( #2603 )
2022-12-16 15:31:08 +10:00
David Newman
b45b3a1d6d
Specify the APIServerIPOverride for Hive installs ( #2592 )
2022-12-12 17:20:58 +01:00
Christoph Blecker
7d837448b0
Merge pull request #2550 from darthhexx/hive-aks-multiple-msi-fixes
...
AKS MSI / cluster storage / ACR fixes for ARO-Installer in Production
2022-11-23 14:38:04 -08:00
darthhexx
90da97a218
Add IsClusterInstallationComplete tests
2022-11-22 12:25:24 +10:00
darthhexx
85182299f3
Pass through the ACR Resource environment variable
2022-11-21 22:53:12 +10:00
darthhexx
ee0af9b561
Exit if we enter ProvisionFailed status
2022-11-21 17:58:49 +10:00
David Newman
5eeda26e9c
Liveconfig: Global AKS shard admin credentials ( #2470 )
...
* Dynamically get admin kubeconfig from RP location and shard index
* Add mocks and update tests to include paged ManagedCluster results
* Dynamically generate the full path the procy files
* Clearer naming and spacing
* Add user and admin config support
* Update and add new tests
* Reduce the time we are holding the locks for
* Add note about AnyTimes() on the List function in some tests
* Log monitor worker Hive auth issues as warnings
* Remove the user credentials support as they require manual intervention
* Remove unused test user kubeconfig and constants
* Correct test error message
* Copy pasta
* Change comment to use 'shard'
* Use global Hive shard kubeConfigs to remove it from the worker code path
* Should be Errorf
* Fix copy pasta
* Several refactors for the monitors
* Live config tweaks
* Remove debug messages
* Fix pointer variable and change to defer mutec unlock
* Review feedback tweaks
* Remove extra newline
2022-10-24 13:00:42 +02:00
Jeremy Facchetti
72e67cd3db
removed ioutil references
2022-09-22 10:26:18 +02:00
Ross Bryan
9b492f94c3
refactor openshiftversion implementation code
2022-09-20 09:28:09 -04:00
darthhexx
4f3d5844c5
Remove Hive CLI hack and replace with the agreed annotation method
2022-09-05 12:08:59 +10:00
darthhexx
72645f54ec
Address PR feedback, props bennerv
2022-09-05 12:08:59 +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
d97e796329
template nicer, add a test
2022-08-30 14:09:31 +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
Amber Brown
d9e63cceb8
[M4/M5/M6] Read Hive kubeconfig from AKS live ( #2325 )
2022-08-23 17:09:53 +02:00
Yehor Naumenko
6dcf13b024
Test hive create namespace ( #2327 )
2022-08-23 13:39:34 +02:00
Mikalai Radchuk
f8283b47a0
Adds tests for hive logging
2022-08-02 16:58:08 +01: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
06685260c5
Makes hive kubeconfig constant unexported ( #2295 )
2022-08-02 17:10:59 +02:00
Daniel Bizau
4c0f55e503
Add ClusterManager mock
2022-08-02 14:26:58 +01:00
Mikalai Radchuk
f22254e177
Enforces hivev1azure import alias
2022-08-02 09:00:55 +01: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
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