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

190 Коммитов

Автор SHA1 Сообщение Дата
Mangirdas Judeikis 63382712ce
Adjust swagger as per ARM requirments 2021-08-20 12:09:56 +01:00
Peter Kostyukov 54c9ea424e Update Track 2 specifics 2021-08-17 16:15:32 -05:00
Peter Kostyukov 10a73b2523 Python Track 2 SDK 2021-08-13 11:47:17 -05:00
Mangirdas Judeikis 5efde463fb
Set Defaults functionality (#1654)
* Add internal API defaulting code
* ListAdminKubeconfig -> ListAdminCredentials
2021-08-11 15:21:05 +01:00
Mangirdas Judeikis 7150882043
Make EncryptionAtHost enum 2021-08-04 12:13:22 +01:00
Mangirdas Judeikis 6ba3d3b1bd
rename 20210131 -> 20210901 2021-07-20 12:15:25 +01:00
Drew Anderson 2f613911fb make client; make test-go; 2021-07-19 09:41:36 +02:00
Drew Anderson 016aab3740 make client; make test-go 2021-07-19 09:41:36 +02:00
Mangirdas Judeikis deda73a2ac
Merge pull request #1581 from jhoreman/aad-cloudaware
AAD Manager cloudaware changes
2021-07-13 08:46:51 +01:00
Jory Horeman f96faf1443 Cloud aware logic for AAD Manager
mend
2021-07-08 16:05:42 -07:00
Mikalai Radchuk 9b30254bc8 make client 2021-07-05 16:42:46 +01:00
Mangirdas Judeikis 1f9eb5b58a
Merge pull request #1442 from troy0820/feature/compute-isolation
RP support for compute isolation
2021-06-21 09:11:51 +01:00
Troy Connor bf72da5d3a
api: add vm types to current api 2021-06-16 10:00:01 -04:00
bennerv 6aeb4002f5 Fix non-existing resource on aro_delete 2021-06-16 09:56:10 -04:00
Mangirdas Judeikis cea772e0af
Merge pull request #1499 from mjudeikis/kube.config
Add admin kubeconfig download api
2021-06-15 15:50:13 +01:00
Troy Connor 6b4dc8bf01
python: add pod/service cidr minimum in help 2021-06-11 13:46:54 -04:00
Mangirdas Judeikis 3d95bffcb1
Add API generation for kubeconfig 2021-06-08 13:16:08 +01:00
Mangirdas Judeikis b5374d5650
s/descriptions/identifier 2021-05-26 10:05:32 +01:00
Mangirdas Judeikis 4039d66ac8
Add systemData handling (#1412)
Add systemData into document and handling in the frontend
2021-05-06 13:42:04 +01:00
Mangirdas Judeikis c0abbbd7f8
Merge pull request #1458 from mjudeikis/api.generation
Multi API generator refactor
2021-04-27 09:12:57 +01:00
Leszek Jakubowski ffbedfb8b2
fix pylint (#1462) 2021-04-26 13:56:08 -05:00
Mangirdas Judeikis b934563fce
systemData and generator for multiapi 2021-04-26 12:55:50 +01:00
Mangirdas Judeikis bb2b2f229b
CLI Credential rotation (#1261)
# Which issue this PR addresses:

Fixes: https://msazure.visualstudio.com/AzureRedHatOpenShift/_workitems/edit/9148852

First part of the story.

# What this PR does / why we need it:
It will enable us to pass credentials changes into API server.
API server will have to be changed to accept those.
This is out of scope for this PR
Rotation on CLI is https://msazure.visualstudio.com/AzureRedHatOpenShift/_workitems/edit/7609645

# Test plan for the issue:
Review review review...

# Is there any documentation that needs to be updated for this PR?
Yes, docs how to use it.
2021-04-23 10:59:53 -04:00
Jim Minter fe73544939
remove if w that slipped in 2021-01-04 09:13:01 -06:00
bennerv 27900e2778 Check worker_profiles is not None before iterating through it 2020-12-14 13:27:24 -05:00
bennerv 6e12822f75 Update aro py ext to look like downstream 2020-12-11 09:45:24 -05:00
bennerv 7eb3b93f06 Reconcile downstream azure-cli az aro module with upstream 2020-12-09 17:56:16 -05:00
Jim Minter ac4dec09c0
Merge pull request #1219 from jim-minter/minor-fixes
Minor fixes
2020-12-08 19:43:29 -06:00
Jim Minter 0816471348
az aro: don't honour AZURE_FP_CLIENT_ID when RP_MODE is unset 2020-12-08 16:18:02 -06:00
bennerv 1c8c7e28c7 Update error handling per new az-cli upstream guidelines 2020-12-07 16:46:26 -05:00
bennerv 95bbd1047a Add rbac validation to aro update 2020-12-04 14:46:23 -05:00
Jim Minter 184f35e3b5
fixups 2020-12-04 09:39:50 -06:00
Mangirdas Judeikis c19f4111cd
2020-10-31-preview -> 2021-01-31-preview 2020-12-02 12:08:47 -06:00
Mangirdas Judeikis 671576a75e
Merge pull request #1181 from mjudeikis/bump.worker.profile.size
Make workers count unbound
2020-11-26 05:38:04 -02:00
Jim Minter 56d4ab6603
remove validation text from API definition 2020-11-25 18:44:52 -06:00
Mangirdas Judeikis e03d708fdb
Increase workers from 20 to 50 2020-11-24 15:21:12 +00:00
Jim Minter a179c6479f
Merge pull request #1126 from ehashman/vsts8367811
Revert "Revert "Fix permissions on cluster deletion in az cli""
2020-11-19 15:06:57 -06:00
Elana Hashman 023fa72f5c
Fix import order 2020-11-18 13:29:39 -08:00
Elana Hashman b862479f4e
Log error if an expected one is thrown 2020-11-18 12:59:02 -08:00
Elana Hashman 42042c1765
Address concerns around issues blocking cluster deletion 2020-11-18 12:56:39 -08:00
Jim Minter 9227743f5d
Swagger documentation updates 2020-11-16 16:52:05 -06:00
Jim Minter a64585189d
use Network Contributor instead of Contributor for network resources in az and hack/cluster 2020-11-10 18:40:21 -06:00
Elana Hashman 024205465c Revert "Revert "Fix permissions on cluster deletion in az cli""
This reverts commit 45baf2f5b9.
2020-11-06 15:02:44 -08:00
Jim Minter 45baf2f5b9
Revert "Fix permissions on cluster deletion in az cli" 2020-11-04 12:03:43 -06:00
Elana Hashman 91f417bd2a
Check AAD perms before attempting deletion 2020-11-02 08:46:44 -08:00
Jim Minter 45abb2220c
fix python bug which prevented us from running correctly in INT 2020-10-28 18:28:45 -06:00
Jim Minter dba3e0a433
retry hash conflict ValidationError in python 2020-10-20 08:57:55 -05:00
Denis Korzunov be3a2d7a5a aro extension: add extension supression 2020-10-13 14:52:19 +11:00
Petr Kotas 213abf54a6
Add x-ms-enum type to swagger and SDK
x-ms-enum will make future modifications
of the API simpler, the type is defined

https://github.com/Azure/autorest/tree/master/docs/extensions#x-ms-enum

Signed-off-by: Petr Kotas <pkotas@redhat.com>
2020-09-10 08:39:00 +02:00
Petr Kotas 9328e20c10
GEnerate new SDK
Signed-off-by: Petr Kotas <petr@kotas.tech>
2020-09-03 21:36:50 +02:00
Angus Salkeld cecbfe0156
Fix assign_contributor_to_routetable
This caused the deployment in INT to fail.
The problem is we are using the wrong variable should be the loop
variable "rt" and not subnet.route_table.id
2020-06-23 11:34:52 +10:00
Jim Minter 56762673e0
homogenise assign_contributor_to_vnet and assign_contributor_to_routetable 2020-06-22 16:10:31 -05:00
Kenny Woodson e3943cbfd4 Updating routetables to a dict instead of a set. 2020-06-18 16:19:04 -04:00
Kenny Woodson 7a4b4e25fa Fixed naming, test output, and code duplication. 2020-06-17 15:12:29 -04:00
Kenny Woodson c73ef2fbd5 Attempt to update routetable permissions 2020-06-17 15:12:29 -04:00
Jim Minter 8c6dc4ac61
add python/az/aro/linter_exclusions.yml 2020-06-01 17:07:03 -05:00
Petr Kotas 8adfedd3ce Switch from random app names to RG naming
To enable pairing between cluster resource groups
and active directory application, this pr
switches application name from random to the
resource group name.
This enables the pairing.

Signed-off-by: Petr Kotas <pkotas@redhat.com>
2020-05-27 07:19:46 +00:00
Troy Connor 7d473e83df
[python]Add get_enum_type for allowed values in ingress/apiserver visibility 2020-05-20 10:24:42 -04:00
Troy Connor 649f206e70
[python]Add allowed values to ingress/apiserver visibility 2020-05-19 10:31:45 -04:00
Troy Connor d632f8088f
Add function generate_random_id to always start with lowercase letter (#676)
* [python]Add function generate_random_id to always start with lowercase letter

* [python]Fix pylint/style guide errors in ci

* [python]Add tests for generate_random_id function

* [python]Mock randon.choice in test

* [python]Fix python style/lint errors
2020-05-18 19:23:13 -05:00
Jim Minter 003b86a615
Merge pull request #631 from nilsanderselde/retry-create-sp
Add retries to create_service_principal
2020-05-18 17:17:37 -05:00
Jim Minter 5671660da5
dedent and remove references to managed and openshift 2020-05-18 16:41:34 -05:00
Troy Connor f80774481d
[python]Add examples to help
Add function to validate int for vm count and size

Sychronize with upstream azure/azure-cli
2020-05-18 16:31:58 -05:00
Jim Minter 3c0b8cc6f8
Merge pull request #675 from petrkotas/aro-extension-fix
Switch uuid5 back to uuid4 in az aro extenstion
2020-05-15 14:37:50 -05:00
Petr Kotas 7f3ce8d010 Introduce mock to the ARO ext tests
Mock is used to fix the UUID generation in
ARO cluster creation. Fix is important
so the test replay works as expected.

Signed-off-by: Petr Kotas <pkotas@redhat.com>
2020-05-13 16:35:29 +00:00
Petr Kotas d6894be720 Switch to random UUID for role assignment
The fixed UUID is no longer needed. Tests can use mock in place
of  fixed UUID.

Signed-off-by: Petr Kotas <pkotas@redhat.com>
2020-05-13 16:35:29 +00:00
Jim Minter 12a81f61ca
make random characters match k8s.io/apimachinery/pkg/util/rand.alphanums 2020-05-11 08:50:44 -05:00
Jim Minter 3b53278b0d
validate RP registration at top of create
provides a clear error message instead of a failure to retrieve the RP service principal later
2020-05-11 08:50:01 -05:00
Nils Elde b4a7bd2210 add retries to create_service_principal 2020-04-30 00:54:21 -04:00
Sam Kingston 99e4dc4f9d
[WIP] Replace custom int validator in az aro (#557)
* Replace custom int validator with type=int

* Fix for when worker arguments are None

* Underscores should be hypens
2020-04-29 13:52:08 -05:00
Jim Minter cddbd8f12e
bump az to 1.0.0 2020-04-24 19:38:05 -05:00
Kenny Woodson 6cf5ea0332 Forcing visibility parameters to capitilize 2020-04-22 15:07:13 -04:00
Mikalai Radchuk 01777df97e Fixes az aro table output
When there are no worker profiles (cluster only has masters or we failed to get data from API server)
or a worker profile does not have count (machine set was scaled to 0)
2020-04-16 17:30:08 +01:00
Jim Minter fd8f0ddbb5
Merge pull request #485 from jim-minter/infraid
revert to using infra id
2020-04-16 08:49:30 -05:00
Jim Minter 332139b1c7
Merge pull request #496 from jim-minter/vm-sizes
add additional vm sizes
2020-04-16 08:34:16 -05:00
Petr Kotas 3da997aee2 Backport changes from downstream
Signed-off-by: Petr Kotas <pkotas@redhat.com>
2020-04-16 06:13:03 +00:00
Jim Minter 64553dfa1c
add additional vm sizes 2020-04-15 20:42:36 -05:00
Jim Minter b16d91a320
remove vowels from random strings 2020-04-15 20:13:48 -05:00
Jim Minter 46972534e5
bump az version 2020-04-14 13:24:32 -05:00
Jim Minter 4d5887dddf
don't allow clusters to be created with Standard_D2s_v3 in prod -- too small 2020-04-14 13:10:48 -05:00
Jim Minter 8d9311a344
another attempt at rewording 2020-04-07 08:43:38 -05:00
Kenny Woodson 2c54dbdc30
Update pull-secret warning. 2020-04-06 21:38:22 -05:00
Jim Minter 3cf1caff1e
roll aro extension back to 0.3.0, we never released it 2020-04-02 20:47:49 -06:00
Jim Minter d064812395
fix az aro list -o table count 2020-04-02 19:42:36 -06:00
Jim Minter aaecb66f7c
bump az to 0.4.0 2020-04-02 19:42:36 -06:00
Jim Minter 30b452d510
move az, tests to GA API 2020-04-02 19:42:36 -06:00
Jim Minter 44ff1c10dd
auto-generated 2020-04-02 19:41:31 -06:00
Jim Minter 224705a307
fix broken az update command 2020-04-02 15:30:03 -06:00
Jim Minter 8f433d8b61
stop advertising python 3.5 support 2020-03-26 14:47:33 -06:00
Jim Minter 954ae66ebe
stop advertising python 2.7 support 2020-03-26 14:40:57 -06:00
Jim Minter f8861eac43
bump az version to 0.3.0 2020-03-21 13:20:58 -06:00
Jim Minter 84901e0e6c
add --pull-secret to az aro 2020-03-21 13:20:58 -06:00
Jim Minter 042a374802
add pull secret to API 2020-03-21 13:20:57 -06:00
Jim Minter 0d5e40634f
release az aro 0.2.0 2020-03-12 15:28:09 -06:00
Jack Quincy 5926d13464
adding origin to operations api object 2020-03-10 17:30:56 -06:00
Jim Minter 41fa355fd5
bump azext.maxCliCoreVersion 2020-03-10 08:58:19 -06:00
Jim Minter cbc8275766
make client 2020-03-07 19:04:26 -06:00
Jim Minter 330472b767
advertise API pageability 2020-03-07 19:04:26 -06:00
Jim Minter 9d0d5e5959
add missing version to azext_metadata 2020-02-26 08:41:34 -06:00
Mikalai Radchuk 5d9968e635
Adds admin API 2020-02-18 15:33:54 -06:00