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

33 Коммитов

Автор SHA1 Сообщение Дата
ganga1980 8f5de6d71f fix: improve container monitoring add-on (#1686) 2019-08-29 09:13:09 -07:00
Hongbin 6315043710 feat: autofill client Id and client secret for generate command (#1766) 2019-08-19 16:10:21 -07:00
Jack Francis ec69c3b779
refactor: run full validation for aks-engine deploy (#1429) 2019-06-10 12:50:12 -07:00
Matt Boersma 4157b3e199 style: check for unused parameters (#1323) 2019-05-17 09:47:42 -07:00
Cecile Robert-Michon 3cfae1f67c
feat: TLS certificate rotation (#678) 2019-04-12 14:03:36 -07:00
Ace Eldeib 6c123a6921 fix: use --dns-prefix for output directory when running deploy command (#880) 2019-03-27 10:24:05 -07:00
Matt Boersma a290ab8b3d
fix: commands return errors rather than exit (#693)
* fix: don't double-log errors and ensure return code of 1

* ref: return err from version cmd and update tests

* fix: work around ginkgo flags.Parse() issue

* test: execute root command

* test: add cases for default args and "completion" command

* test: execute the orchestrators command

* fix: return error instead of calling log.Fatalf()

* test: add root command debug flag case

* refactor: return errors instead of calling log.Fatalf()

* fix: return error when generating bash completion script

* style: code cleanup

* test: add basic no-args command invocations

* ref: use more readable HaveOccurred() matcher
2019-03-11 17:01:44 -06:00
Mendy Danzinger 0a6c592ff5 refactor: swap satori's uuid package to gofrs (#466)
run gofmt

re-run dep ensure using dep 0.5.0
2019-02-13 14:19:38 -07:00
Sylvain Rabot b615a2ea98 fix: address goimports checks (#204)
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
2019-01-10 17:13:35 -07:00
Tariq Ibrahim 7966f8f452
fix: change default auth method for deploy,scale and upgrade (#231)
* fix:change default auth method for deploy,scale and upgrade

* fix failing unit tests

* fix linting issues

* revert rename of client_secret to service_principal

* doc fixes
2019-01-04 17:54:21 -08:00
Matt Boersma b1ffc7545c Rename to aks-engine 2018-12-03 16:17:32 -07:00
Matt Boersma 3e57d2887a Add copyright headers to source files (#4324)
* Add Copyright header

* Add Copyright header to more files

* Rearrange finicky package comments and enforce validate-headers in CI

* Remove some extraneous diffs

* Rename Makefile target to be more descriptive
2018-12-03 11:19:18 -08:00
Stéphane Erbrech ebd4bc3ba8 Make cmd more testable by abstracting authArgs and AzureClient (#3756) 2018-09-04 15:53:46 -07:00
Matt Boersma 92aaae673c Fix errors pointed out by "make test-style" (#3593) 2018-07-31 17:10:51 -07:00
Brian Goff be63a04a61 Use default model when --api-model not set deploy (#3384)
Also adds a flag on the root command to dump the default config to
stdout.
2018-07-27 16:26:54 -07:00
Tariq Ibrahim 1b62476a64 Cleaning up error usage #2 (#3476) 2018-07-16 21:54:56 -07:00
Julien Corioland 0cc5b1d18d Support --set flag in deploy command (#3188)
* wip #2796 - support --set flag in deploy cmd

* tests for --set flag support in deploy cmd

* wip: refactor deploy.go + fix unit tests

* add docs for --set flag support in deploy cmd

* initial loading from file without validation
2018-06-11 16:41:37 -07:00
Cecile Robert-Michon f5c08ef292
Replace log.Fatal by return errors in deploy.go (#3116)
* return err for autofill

* replace log fatal with return error

* check for err in unit tests

* fix typo

* lint

* log -> t
2018-06-01 13:09:20 -07:00
Cecile Robert-Michon 1bd96cb8aa remove pre-fill validation in deploy (#3112) 2018-05-31 15:44:53 -07:00
Cecile Robert-Michon 3482257e31 More cmd package unit tests (#2997) 2018-05-21 11:22:56 -07:00
Mani Bindra 0759d4dad7 Fix deploy using client-id and client-secret (#2820)
* changes to fix issue 2657, including more tests

* incorporated review comments
2018-05-02 11:38:24 -07:00
Stéphane Erbrech 183c10a51c fix --auto-suffix when dnsPrefix is defined in apimodel json file (#2239) 2018-02-09 11:34:22 -08:00
Jack Francis 20123c1bdd
setting default etcd version to 2.3.8 (#1855) 2017-11-29 16:58:16 -08:00
Jack Francis 14fbc90bdc
A rationalized etcd implementation (#1785)
* added etcd versions

* using kubernetesConfig vars/params for etcdVersion

* etcdDownloadURLBase

* fix unit tests

* gofmt

* s/etcImageBase/etcdImageBase
2017-11-16 17:03:46 -08:00
Jack a3d1f3048d Allow old patch on update calls (#1672)
* allowing scaling with older patch versions

Also did bug fix to correct kubernetes version  name for 1.7.9. and
making fqdn prefixed with https:// if not passed in that way. Also
adding a parameter to allow cordon and drain to be optional.

* making load conatiner service know if a call is for upgrade so that it can skip some validation

* getting patch version working with swarm again. also pasing unit tests

* fixing make test-style
2017-10-26 15:00:00 -07:00
Khaled Henidak (Kal) e5c3e0bc7a Etcd3 Support (#1564)
* Support multiple etcd versions

* Modify git ignore and removing keys generated by test

* Review fixes

* Switching to mirrors

* Consider empty version valid on vLabs, gets defaulted in generalized api model

* Changed etcd to ver 3.1.10

* unify test etcd version with allowed versions
2017-10-11 12:20:35 -07:00
Jack Francis 74625737f7 vendor/ dependency rationalization (#1340)
* rationalized vendor directory

- updated dependency declarations and version pinning (glide.lock)
- updated dependent code under vendor/
- added new `build-vendor` target to aid periodic rationalizations like this

* preferring build-binary

* testing

* delete sirupsen

* add sirupsen

* don’t need build-vendor
2017-08-23 16:09:58 -07:00
dmitsh 9dcaf23533 unified ServicePrincipalProfile interface between vlab and versioned API (#1332)
* unified ServicePrincipalProfile interface between vlab and versioned API
* fixed examples/keyvault-params
2017-08-23 09:46:01 -07:00
Jingtao Ren 13b014353b add merge workflow between load raw api model and validation (#1270)
* import github.com/imdario/mergo

* add merge into loadcontainerservice workflow

* put back the testImport versions, glide.yaml and glide.lock are not sync right now
2017-08-18 11:14:51 -07:00
Jiangtian Li b41df8f90a First round of i18n in acs-engine based on gettext. Subsequent change… (#627)
* First round of i18n in acs-engine based on gettext. Subsequent changes will replace and extract resource strings in acs-engine and make acsengine/api package's i18n used by other go program.

* Update acs-engine go source to use translation functions. Generate translation resource files.

* Vendor github.com/leonelquinteros/gotext package using glide

* Rebase and update translation for update and deploy command

* Move test translation files so that translations directory is used for go-bindata

* Use go-bindata to add resource strings to acs-engine binary

* Fix reading bindata and unit test

* Update translation files

* More fix/refactor after rebase and add README

* Update resource files

* Add LCG files converted from PO files.

* Update translation bindata

* Remove go generated translation bindata
2017-07-31 16:24:16 -07:00
Sean Knox 2b09dca8f9 Run "make test-style" as part of CI (#1123)
* fix(style): fix linter errors

* fix(style): fix linter errors

* fix(style): fix linter errors

* fix(style): gofmt files

* fix(style): fix mispellings

* ref(vlabs): remove dead code

* ref(*): fix ineffective assigns

* ref(*): fix type referenced in log message

* fix(style): use keyed field on composite literal

* chore(tests): enable `make test-style` as part of ci

* fix(style): gofmt pkg/acsengine/engine_test.go
2017-07-28 22:08:37 -07:00
Cole Mickens 6a2da10dc4 fix(deploy): fix SP cred handling in deploy (#1052) 2017-07-20 11:37:00 -07:00
Cole Mickens bf1672a8a0 feat(autodeploy): test field population; test MSI+(skip)creds scenario 2017-07-17 02:59:29 -07:00