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

506 Коммитов

Автор SHA1 Сообщение Дата
carvalhe fe1967a649
Moved SkuValidator to Frontend (#2770)
Co-authored-by: BCarvalheira <bcarvalheira@microsoft.com>
2023-03-22 09:35:56 +01:00
Christoph Blecker fe31f43ed2
Merge pull request #2709 from nwnt/add_checkaccess
Add checkaccess Client
2023-03-15 11:33:09 -07:00
Ben Vesel cb2b5ccd35
Merge pull request #2744 from carvalhe/SubnetCannotBeDeleted_to_UserError
Add new clouderror for inUseSubnet
2023-03-14 18:55:09 -04:00
Jeremy Facchetti cf8ed6b7d0
Gorilla removal from pkg/frontend (#2711)
removes the use of gorilla/mux from the frontend
2023-03-14 12:06:58 +01:00
Steven Fairchild 2f21f00bc2 Update error message to be more relevant to users issue 2023-03-03 10:47:54 -05:00
Steven Fairchild 0ecb89c6c2 Update pkg/util/instancemetadata/prod.go
Co-authored-by: Caden Marchese <56140267+cadenmarchese@users.noreply.github.com>

Update pkg/api/validate/dynamic/serviceprincipal.go

Co-authored-by: Caden Marchese <56140267+cadenmarchese@users.noreply.github.com>
2023-03-03 09:03:50 -05:00
Steven Fairchild 761421b843 Update all failure to parse token errors as Cloud Errors 2023-03-02 10:06:47 -05:00
cadenmarchese 51ab6f7b05 validate master resize target is supported 2023-02-28 16:28:51 -05:00
bennerv 14a0255a5c Reconcile conflict between refactor and previously merged PR 2023-02-23 09:30:41 -05:00
bennerv fab97fc520 Rename InstallStream to DefaultInstallStream 2023-02-23 09:20:24 -05:00
BCarvalheira 946ddb0144 Add new clouderror for inUseSubnet 2023-02-22 16:31:29 -08:00
Carlo Wisse d536465e5d New API skeleton for v20230401 & make generate output 2023-02-22 16:35:08 -05:00
Ben Vesel c7f70ccfe6
Merge pull request #2730 from bennerv/support-ovnk8s-in-4.11
Support OVNKubernetes in OpenShift 4.11
2023-02-22 13:25:45 -05:00
Nont 6d16dabaac Add toggle and licenses 2023-02-22 09:53:15 -08:00
bennerv f3d27b44c9 Fix golang lint makefile target 2023-02-21 12:58:46 -05:00
bennerv 47dece62b2 Support OVNKubernetes in OpenShift 4.11 2023-02-19 23:52:57 -05:00
David Newman 9c9e6897b0
Detect expected NSG's during install retries (#2684) 2023-02-16 21:01:21 +10:00
Tanmay Satam 1f2bb1aab0 Remove AdminKubeconfig feature flag 2023-02-13 15:07:50 -05:00
Mikalai Radchuk 32b1c49381 Fixes incorrect default flag name 2023-02-09 11:41:40 +00:00
bennerv c35e8983ce Remove the systemdata field from Admin API, not just the converter 2023-02-08 15:01:21 -05:00
bennerv ee13e2d16f Remove systemdata from admin API 2023-02-07 18:18:39 -05:00
Kartikay-redhat 74964218d2
Add new GPU instance types (#2681) 2023-02-08 10:06:33 +11:00
Jeremy Facchetti 1e8fe90340
decoupled middlewares from gorilla for apiversion (#2668) 2023-02-01 10:39:27 +01: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
Jeremy Facchetti 25ae8e23c6 move quota validation to frontend 2023-01-05 10:21:55 +01:00
Jeremy Facchetti 0ea3397778 Revert "quota validation to frontend" commits
This reverts commit b3823876f5.
This reverts commit e9dec20e21.
This reverts commit 6181939f80.
This reverts commit 5c03b199ef.
This reverts commit d7d9551103.
This reverts commit 4bb8f0f5bb.
This reverts commit a13d3340d0.
This reverts commit 88537d3a43.
This reverts commit b4a4d975ee.
This reverts commit 410df02cc7.
This reverts commit 74f76fdcae.
This reverts commit 16fcfd184c.
This reverts commit 61cf9f6a01.
2023-01-05 10:21:55 +01:00
Jeremy Facchetti b3823876f5 fixed logic for validation 2023-01-05 09:10:21 +01:00
Jeremy Facchetti 6181939f80 merged the lists from api/validate and dynamic/validate 2023-01-05 09:10:21 +01:00
Jeremy Facchetti 5c03b199ef added vminfos to the map 2023-01-05 09:10:21 +01:00
Jeremy Facchetti 88537d3a43 somehow works now 2023-01-05 09:10:21 +01:00
Jeremy Facchetti b4a4d975ee more stuff 2023-01-05 09:10:21 +01:00
Jeremy Facchetti 410df02cc7 removed quota validator references 2023-01-05 09:10:21 +01:00
Jeremy Facchetti 74f76fdcae moved quotavalidator to frontend package 2023-01-05 09:10:21 +01:00
Jeremy Facchetti ba50102756 now uses const for vm families 2023-01-05 09:10:21 +01:00
Zach Jones f9d20aaae3 feat: addition of applens client and detector endpoints 2022-12-16 12:53:35 -05:00
Christoph Blecker 2f387d9fc3
Merge pull request #2248 from ArielLima/public-ip-removal
Public IP removal
2022-11-29 13:35:41 -08: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
Andrew Denton 76481d0a60
More changes for Microsoft acceptance (#2523) 2022-11-08 13:02:52 -08: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 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
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
Shivkumar Anil Ople bfd41b1158 Fixing kubeadmin password comment
Came across this comment while going through the code, fixing it for a better reading experience.
2022-10-31 11:59:40 -04:00
Jeremy Facchetti 6210fa5852
added more linter (#2481) 2022-10-31 08:18:27 +11:00
Amit Arora 5b88b8d6c1
validate permissions on NAT gateways (#2493) 2022-10-31 07:35:11 +11:00
bennerv f95e01ed50 Set the correct VM family on the currently supported GPU instance types 2022-10-13 17:10:53 -04:00
Ari Lima bef2e1d843
Update pkg/api/openshiftcluster.go
Co-authored-by: Ben Vesel <10840174+bennerv@users.noreply.github.com>
2022-10-06 09:23:43 -06:00
David Newman 9f6fb24e9c
Merge pull request #2399 from mhsreddy/adminupdate-certs-renewal
Certificate renewal PUCM type to rotate in-cluster MDSD/ingress/API certs
2022-10-05 09:23:46 +10:00
ArielLima aa1798131b changes requested 2022-10-04 13:23:40 -06:00
ArielLima 65ce5a8ef8 outbound type defenition 2022-09-27 16:37:41 -06:00