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

5375 Коммитов

Автор SHA1 Сообщение Дата
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
darthhexx 5843dde621 Agentpool MSI needs to be able to list in order to load the FP cert 2022-11-21 13:30:28 +10:00
darthhexx 9d285f60b3 Allow access from aks-net to the cluster storage; installer needs to persist the graph 2022-11-21 13:29:58 +10:00
Carlo Wisse 12cdeb5a93 Updated select to have header option, removed unneeded code from select.js and refactored implementation for performance 2022-11-18 14:56:42 +11:00
Carlo Wisse e23d1b5b6e Fix edge case of single resource id not rendering. Fix blur function on selected cluster. 2022-11-17 15:22:55 +11:00
Carlo Wisse 965337a928 Fix race condition where select element was not populated and rendered incorrectly. 2022-11-17 13:44:33 +11:00
Carlo Wisse 045e050df8 Fixed input on admin portal v1 after bootstrap 5 upgrade. Created custom search select element for admin portal v1. Updated loader-utils to 2.0.4 to mitigate vulnerability in admin portal v2. 2022-11-17 12:35:15 +11:00
Christoph Blecker 45e3c1141b
Merge pull request #2543 from cblecker/api-fixes
Follow up API fixes
2022-11-16 12:15:16 -08:00
Ellis Johnson eafca5aa99
Fix admin portal go embed (#2541)
* Fixed admin portal v2 navigation and e2e admin portal flakes

Check for docker before running e2e tests

* Assuming docker has failed until proven succeeded

* Made changes based on review feedback
2022-11-16 11:02:17 -08:00
Christoph Blecker 92859ec12b
Generate API/clients 2022-11-16 10:38:00 -08:00
Christoph Blecker 53e50503ab
Properly define OpenShiftVersion resource 2022-11-16 10:18:27 -08:00
Christoph Blecker c4e9812f77
Add regex validation for resource names 2022-11-16 09:56:49 -08:00
Yehor Naumenko 155e024d82 log more arooperator deployment details 2022-11-16 17:04:29 +01:00
Mikalai Radchuk 0738296121 Moves cluster basic E2E tests to use `Eventually` 2022-11-15 15:48:56 +00:00
Mikalai Radchuk 6d88036c88 Moves kube object actions E2E to use `Eventually` 2022-11-15 14:52:41 +00:00
Mikalai Radchuk 4c7947694c Moves VM redeploy action E2E to use `Eventually` 2022-11-15 14:42:41 +00:00
Mikalai Radchuk c7d3059c0c Moves admin update action E2E to use `Eventually` 2022-11-15 14:14:07 +00:00
Mikalai Radchuk ebf9936a39 Moves get logs action E2E to use `Eventually` 2022-11-15 14:14:07 +00:00
Mikalai Radchuk bbf2c493b4 Moves ARO operator tests to use `Eventually`
This helps with troubleshooting of E2Es as it makes easier
to understand what assertion within the wait code failed.
2022-11-15 13:34:43 +01:00
Petr Kotas d7fa108338
Add e2e test for huve kubeconfig
Signed-off-by: Petr Kotas <pkotas@redhat.com>
2022-11-15 10:55:55 +01:00
xiaoyu74 1c23742a72 Refactor pkg/portal to use go:embed instead of go-bindata
Fixed the CI test issues

A minor change in portal.go

Updated based on Amber's review feedback

Fixed a minor CI issue

Some updates based on the latest feedback

Removed the label for the switch-case block
2022-11-14 13:14:08 +01:00
David Newman f4e256d62f
Switch to nested inner-evaluated ARM deployment for dynamic KV (#2540) 2022-11-14 15:17:43 +10:00
Petr Kotas 19e59aa1e6
Fix kubeconfig var name (#2539)
Signed-off-by: Petr Kotas <pkotas@redhat.com>

Signed-off-by: Petr Kotas <pkotas@redhat.com>
2022-11-11 15:01:59 +01:00
Mikalai Radchuk b40a5f64ac Revert "collect must-gather on failed CI e2e runs"
This reverts commit 05e8d390a3.
2022-11-11 14:26:03 +01:00
David Newman 0f6ff3e945
Skip deploying the AKS agentpool keyvault access in GovCloud (for now) (#2536) 2022-11-11 11:28:06 +10:00
Carlo Wisse 00f1604fd2
Updated ALL npm packages to latest for admin portal v1/v2. Updated v1 frontend to use and support Bootstrap v5. Removed unused libraries in package.json. Cleaned up package.json files. (#2530) 2022-11-10 07:20:59 -08:00
David Newman 68192e3a76
Ignore WALinuxAgent-udev during package updates (#2533) 2022-11-10 07:20:32 -08:00
Ellis Johnson d7ccfc7004
Region dropdown admin portal (#2439) 2022-11-10 20:55:14 +10:00
Anshul Verma cf9c5210b4
Backporting old admin portal changes (#2137)
Co-authored-by: Ellis Johnson <elljohns@redhat.com>
2022-11-10 17:29:16 +10:00
Steven Fairchild 93663d1d35
Update fake RefreshToken to use a randomly generated string (#2526)
Required to pass Microsoft Guardian tests.
2022-11-09 16:22:17 -08:00
Brendan Bergen 6b1f429e83
Fix CI linting - install vendored binaries (#2527) 2022-11-09 13:42:42 -08:00
Aman Verma 1af4aa47e1
[admin-portal]: add a fix for subscription ID filtering (#2355)
* add a fix for subscription ID filtering
* Remove leading whitespace in the resource ID
2022-11-09 20:10:23 +10:00
Mikalai Radchuk 251db1d33d Adds e2e-report.xml into gitignore 2022-11-09 09:38:53 +00:00
David Newman 143c8186a8
Add dynamic service keyvault access policy for the AKS agentpool MSI (#2509) 2022-11-09 09:44:00 +10:00
Andrew Denton 76481d0a60
More changes for Microsoft acceptance (#2523) 2022-11-08 13:02:52 -08:00
David Newman 26f727cd80
Use caseinsensitive matching; AKS list returns lowercase and instance meta mixed (#2521) 2022-11-07 13:59:50 -05:00
Andrew Denton 0a6f9968d7 Microsoft-requested changed for API acceptance, next round 2022-11-07 12:33:42 -05:00
Andrew Denton 32679f39fd Microsoft-requested changes for API acceptance 2022-11-07 12:33:42 -05:00
cadenmarchese b32cc6b6f9 remove SecretResources from external representation 2022-11-07 12:33:42 -05:00
cadenmarchese 82fd03e444 add static validation, adjust tests 2022-11-07 12:33:42 -05:00
cadenmarchese b960f4b324 fix the examples 2022-11-07 12:33:42 -05:00
cadenmarchese 37b70c9aec remove clustermanagerconfiguration, fix tests 2022-11-07 12:33:42 -05:00
Steven Fairchild 4240ea4619 Add unit tests for dynamic/serviceprincipal, azureclient/environments,
clusterauthorizer

ServicePrincipalChecker now accepts a function with the signature of aad.GetToken, allowing the use of the mocked GetToken function.
Add unit test for updateFailedCondition.

Add tests to azureclient/environments and clusterauthorizer that were previously in serviceprincipalchecker.
Add mock of dynamic service principal validator to prevent testing code outside of the service principal checker package.
serviceprincipal is tested by manually creating and modifying the service principal tokens.
Dynamic now contians/returns the aad.GetToken function to be used. This is to allow changing this function to a mocked aad.GetToken for testing.

Update authorizer to return a refreshable authorizer. Returning a refreshable authorizer object that is then used to get the refresable authorizer token allows for mocking the aad.GetToken calls.
Update NewValidator, NewServicePrincipalValidator, NewAzRefreshableAuthorizer to accept token client as arguement.
2022-11-04 12:12:17 -04:00
cadenmarchese ca8612a993 resolve unnecessary conversions 2022-11-04 11:13:15 -04:00
cadenmarchese 73e6e7858c generate mocks, add coverage 2022-11-04 11:13:15 -04:00
cadenmarchese d1a6947cde validate static, remove clustermanagerconfiguration 2022-11-04 11:13:15 -04:00
Mikalai Radchuk bfafdea970 Adds junit report to E2E
So we can see trends and more easily identify most frequently failing tests.
2022-11-04 14:06:28 +00:00
Spencer Amann 2a9794b362 bump fluentbit image version to latest in makefile 2022-11-03 11:02:21 -04:00
cadenmarchese ed4fdaa1cb move sshd_config first, add basic logging 2022-11-03 09:48:59 -04:00