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
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