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

234 Коммитов

Автор SHA1 Сообщение Дата
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
Olga Mirensky 62a7748423 Make worker profile count field immutable 2020-01-31 11:52:02 +11:00
Julien Stroheker c40183dca5 fixing wrong logic 2020-01-21 15:28:03 -05:00
Mangirdas Judeikis 6f97f413bc move console to consoleProfile 2020-01-21 13:53:53 +00:00
Jim Minter 26a4b94c41
make resource group configurable 2020-01-10 13:38:16 -06:00
Jim Minter da62f1267e
add clusterVersion field 2020-01-10 13:38:16 -06:00
Jim Minter 7ee2da7cbe
start an api clusterProfile 2020-01-10 13:38:16 -06:00
Mikalai Radchuk b26b998a95 Changes PUT and PATCH cluster request behaviour & adds tests for PATCH (#46)
Changes PUT and PATCH cluster request behaviour
Also adds tests for PATCH
Updates the az to follow new PATCH behaviour
2020-01-09 09:26:27 -06:00
Jim Minter 2326214a8a
reinstate "ARO v4 Development Subnet Contributor" development role definition 2020-01-03 12:11:53 -06:00
Jim Minter 9c6c88fc1c
python: prefer single quotes 2020-01-02 14:17:29 -06:00
Jim Minter 6a359dbe8a
use visibility enum instead of private bool 2020-01-02 14:17:29 -06:00
Jim Minter ff0147081a
use types.json#/definitions/Resource 2020-01-02 14:05:41 -06:00
Jim Minter a4619fecb2
start using swagger/common-types/resource-management/v1/types.json 2020-01-02 09:58:28 -06:00
Jim Minter 06c9af32cd
rename get-credentials to list-credentials 2020-01-02 09:41:08 -06:00
Jim Minter 25d787f364
private ingress 2019-12-31 14:47:01 -06:00
Jim Minter 6575b17cef
private API server 2019-12-31 13:06:07 -06:00
Jim Minter 36311656d2
add ip to apiserverProfile 2019-12-31 13:04:49 -06:00
Jim Minter 0d5e38830c
create apiserverProfile 2019-12-31 13:04:49 -06:00
Jim Minter 659751a770
add clusterDomain field 2019-12-31 12:05:50 -06:00
Jim Minter f04481dd2f
add kubeadminUsername field 2019-12-31 09:49:27 -06:00
Jim Minter 601b2f5546
api typos 2019-12-31 08:14:38 -06:00
Jim Minter 3a0c5b9cb7
use PATCH to update/scale in python client 2019-12-30 13:04:41 -06:00
Jim Minter 836db54f04
simplify and fix aro_delete 2019-12-22 12:04:46 -06:00
Jim Minter c6fdf76e2a
return 202 on asynchronous delete 2019-12-22 08:36:19 -06:00
Jim Minter aed3844d3b
python style 2019-12-22 08:36:17 -06:00
Jim Minter 60ad89d069
add confirmation flag to az aro delete 2019-12-21 22:29:27 -06:00
Jim Minter 58493d7a26
only validate resource group non-existence on aro create 2019-12-17 08:39:57 -06:00
Jim Minter 3f2d1a0b09
add timestamp into autogenerated service principal 2019-12-17 08:25:35 -06:00
Jim Minter f5f166728d
CI runner fixes and python logic fix 2019-12-17 07:54:57 -06:00
Jim Minter 18e245b67e
package rename 2019-12-16 19:26:21 -06:00
Jim Minter 00e3c6555a
add code license boilerplate 2019-12-16 19:16:50 -06:00
Jim Minter ecc9c78d73
az: for now, disallow cluster names where they match resource group names 2019-12-16 11:50:43 -06:00
Jim Minter 79bdf58380
update client calls 2019-12-16 11:28:58 -06:00
Angus Salkeld d0bbf6d81c
run "make client" 2019-12-16 11:26:24 -06:00
Jim Minter bd0bc7f93d
az: use resource_group_name for vnet if vnet_resource_group_name unset 2019-12-16 10:52:00 -06:00
Jim Minter 1529b8cfeb
update supported python versions 2019-12-16 10:51:36 -06:00
Jim Minter 56cc2a73fb
az: only set role assignments if they don't already exist 2019-12-16 10:51:12 -06:00
Jim Minter a3096fea90
Implement ARO extension
Co-authored-by: Mangirdas Judeikis <Mangirdas@Judeikis.LT>
2019-12-15 22:06:27 -06:00
Jim Minter 972eb709f3
check in autogenerated aro-preview extension stub 2019-12-15 18:56:44 -06:00
Jim Minter 227f4e13dc
bring python client closer to what would be officially shipped 2019-12-13 16:44:09 -06:00
Jim Minter 3f3d26ec32
move azure-python-sdk -> python/client 2019-12-13 16:44:09 -06:00