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

33 Коммитов

Автор SHA1 Сообщение Дата
Ayato Tokubi f22bef042e
SDK2: Replace old SDK in reconcile load balancer profile (#3923)
* migrate network sdk2 in loadbalancerprofile
* refactor comments
* fix "Could not find member 'Etag' on object of type 'TemplateResource'" error
2024-11-18 05:19:03 +00:00
kimorris27 7448b3db41 `make validate-go` to format stuff and make CI happy 2024-09-26 09:00:11 -05:00
kimorris27 086f532624 Replace all references to the golang mock repo with references to the
Uber fork, then `go mod tidy` and `go mod vendor`

Note the change to `deps.go`
2024-09-26 09:00:11 -05:00
Anshul Verma f13b7a9119 fixed json marshal issue 2024-06-11 22:24:46 +05:30
Tanmay Satam 02cbe54766
Retry failed ARM template deployments during cluster installation when FPSP is missing roleassignments (#3590)
* Retry InvalidTemplateDeployment errors when the underlying error is Authorization Failed
* Remove short-circuit nil err check in DeployTemplate
2024-06-05 08:59:09 -06:00
Alex Chvatal e71343ad58
ARO-6425 v20240812preview validation (#3563) 2024-05-21 13:44:10 -04:00
Rajdeep Singh Chauhan 982e5e3991 add dependsOn for cosmosdb container deployment templates 2024-05-01 11:57:47 -04:00
Ankur Singh e1b8a4e95e
Setting TLS1.2 as min for cosmoDB (#3520)
* setting TLS1.2 as min for cosmoDB

* nitpick

* fixing marshalling
2024-04-29 10:38:24 +05:30
Amber Brown e278fd6891
Add some more golangci-lint linters and fix the issues they find (#3234) 2023-11-08 10:45:17 +11:00
Aldo Fuster Turpin fb5683dfb3
create test functions for error comparison (#2614)
refactor: create functions for error comparison in test files
2023-04-06 14:15:15 +02:00
David Newman f4e256d62f
Switch to nested inner-evaluated ARM deployment for dynamic KV (#2540) 2022-11-14 15:17:43 +10:00
Andrew Denton 66aaf89a6c wip testcase 2022-09-26 11:55:19 -07:00
Ross Bryan e93b0f49b4 address feedback 2022-09-14 16:10:07 -04:00
Ross Bryan 1950b1c2b8 rm unneeded bool from unit test, fix test file name
Co-authored-by: Caden Marchese <56140267+cadenmarchese@users.noreply.github.com>
2022-09-14 10:32:37 -04:00
Ross Bryan a5673f1532 rm interface support - refactor examples to resources b64 strings 2022-09-14 09:57:31 -04:00
Ross Bryan 2d076a8242 create clustermanager api definitions, wire up cosmosdb 2022-09-14 09:57:29 -04:00
Amber Brown d9f33a0dc6 consistently use our uuids 2022-07-27 15:07:29 +10:00
Amber Brown fa9a0842e1 move arm template deploy to util 2022-05-03 14:18:31 +10:00
Naveen Malik d5c35ca3c5 Move from github.com/satori/go.uuid to github.com/gofrs/uuid
Why: https://www.whitesourcesoftware.com/vulnerability-database/WS-2018-0594

Requires updating azure-sdk-for-go, moved to latest release
Created wrapper util for gofrs/uuid as NewV4() now returns 2 args and we use it a lot in-line

Vendor updates coming in separate commit to keep this one clean.

There is no v1.2.1 tag for these repos on github.com.
A replace was added for these to 'master'.
Running `go mod vendor` updated the value from 'master' to what you see
in go.mod now.
The v0.0.0 versions needed excluded to get them to drop from go.sum.
Do not exlude v1.2.0 or dependencies cannot be resolved.
2021-03-30 17:13:29 -04:00
Nils Elde f9b9135ce8 try to improve some names; return exported types 2020-11-13 16:34:33 -05:00
Jim Minter 0bd0be9f9f
always deploy templates, but selectively deploy NSGs via condition 2020-03-26 23:06:05 -06:00
Jim Minter 00e3c6555a
add code license boilerplate 2019-12-16 19:16:50 -06:00
Jim Minter 3c3d33adf2
add production parameters file 2019-12-16 11:17:59 -06:00
Jim Minter 4ab541182f
require Go 1.13 2019-12-13 16:40:15 -06:00
Jim Minter 63392814b8
fix output formatting in nsg arm template 2019-12-13 07:12:32 -06:00
Jim Minter a200253a60
streamlining pkg/util/arm/arm.go 2019-12-04 12:02:12 -06:00
Mikalai Radchuk 844b1befb5 Fixes top-level fields in arm.Resource marshaling
Also simplifies arm.Resource#MarshalJSON: no need to use orderedmap here.
2019-12-04 16:54:08 +00:00
Jim Minter fe78fbe440
generate deployment manifests 2019-12-03 19:47:11 -06:00
Jim Minter 268576a8dc
standardise on 4-space indent for json 2019-12-03 19:13:19 -06:00
Jim Minter c435e12e32
respect field ordering in arm.Resource marshalling and improve test robustness 2019-11-30 09:08:18 -06:00
Mikalai Radchuk b8134eaaad
Adds tests for ARM template marshaling 2019-11-30 07:52:32 -06:00
Mikalai Radchuk aaf6724713 Fixes marshaling behaviour for []byte 2019-11-22 15:57:31 +00:00
Jim Minter 5bc690af0e
move arm.go to pkg/util/arm 2019-11-14 10:13:46 -06:00