Commit Graph

47 Commits

Author SHA1 Message Date
Artur Souza 81fd09b7d1
Installs,uninstalls,upgrade dapr-dashboard separately when applicable. (#1272)
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-04-24 14:05:44 +05:30
Pravin Pushkar 5e3546a351
Init with custom cert (#1249)
* Init with custom cert

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* remove key file

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

---------

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-03-02 13:31:13 +05:30
Shivam Kumar 3093641fcb fix kubernetes init to pick correct runtime version (#1103)
Signed-off-by: shivam <shivamkm07@gmail.com>

Signed-off-by: shivam <shivamkm07@gmail.com>
2022-10-14 13:34:09 +05:30
Mukundan Sundararajan 65855d5aa0
Upgrade linter to 1.49.0 (#1051)
* Upgrade linter to 1.49.0

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix linter error

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-08-25 16:58:54 +05:30
Shivam Kumar 792eae132d
Adding mariner support in dapr init (#1029)
* Adding image-variant flag in self-hosted mode

Signed-off-by: shivam <shivamkm07@gmail.com>

* Adding image-variant in kubernetes init

Signed-off-by: shivam <shivamkm07@gmail.com>

* Adding image-variant in dapr upgrade

Signed-off-by: shivam <shivamkm07@gmail.com>

* e2e test for standalone mariner init

Signed-off-by: shivam <shivamkm07@gmail.com>

* Incorporating comments

Signed-off-by: shivam <shivamkm07@gmail.com>

* Reducing code duplicacy

Signed-off-by: shivam <shivamkm07@gmail.com>

* Formatting change

Signed-off-by: shivam <shivamkm07@gmail.com>

* Adding e2e tests for kubernetes init

Signed-off-by: shivam <shivamkm07@gmail.com>

* e2e test for upgrade

Signed-off-by: shivam <shivamkm07@gmail.com>

* Fixing linter error

Signed-off-by: shivam <shivamkm07@gmail.com>

* fix linter errors

Signed-off-by: shivam <shivamkm07@gmail.com>

* Uncommenting upgrade tsts

Signed-off-by: shivam <shivamkm07@gmail.com>

Signed-off-by: shivam <shivamkm07@gmail.com>
2022-08-25 11:14:11 +05:30
qiangmzsx f8b48c2a8a
Removing the use of the ioutil package (#1037)
Signed-off-by: qiangmzsx <qiangmzsx@gmail.com>
2022-08-07 17:30:20 +05:30
yellow chicks 68f8325360
feature/helmchart: supported private helm chart repo to install dapr cluster (#895)
* feature/helmchart: supported private helm chart repo to install dapr cluster

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature/helmchart: supported private helm chart repo to install dapr cluster

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature/helmchart: supported private helm chart repo to install dapr cluster

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature/helmchart: supported private helm chart repo to install dapr cluster

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature/helmchart: supported private helm chart repo to install dapr cluster

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature: add a private helm repo for dapr

Signed-off-by: 1046102779 <seachen@tencent.com>

Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-08-02 15:23:29 +05:30
Huei Feng 037236ac16
Behavior of dapr uninstall -k and dapr uninstall is different when dapr not installed (#999) 2022-07-22 14:40:36 +05:30
Pravin Pushkar 9905129bfe
Dapr init for ghcr and private reg changes in k8s mode (#984)
* Dapr init for ghcr and private reg changes in k8s mode

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* some refactoring

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Upgrade command

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Tests Modify

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Update cmd/init.go with updated preview message

Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* removing extra spaces

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-06-22 09:11:04 +05:30
Shubham Sharma 0eda01bf38
Upgrade helm version to meet compliance (#894)
* Upgrade helm and run go mod tidy

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Run go mod tidy

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Fix helm constructor

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Upgrade helm

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-03-11 12:07:21 -08:00
tanvigour 050eb553f2
Go linter upgrade to 1.44.2 (#908)
* Go linter upgrade to 1.44

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* remove old excludes and address new ones

Signed-off-by: tanvigour <tanvi.gour@gmail.com>
2022-03-07 13:18:48 +05:30
Dmitry Shmulevich 0f9d0d3a89
replaced license headers (#855)
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>
2021-12-10 08:09:09 +05:30
Long Dai 4ccf10f9e4
ci: standard linter config (#793)
Signed-off-by: Long <long0dai@foxmail.com>
Signed-off-by: Long <long.dai@intel.com>
2021-11-01 19:01:51 +05:30
Phil Kedy 6f2063bd4f Fixing removal of "v" from release version 2021-07-14 13:38:42 -04:00
Charlie Stanley 3af1ca24a7 Fall back to reading the helm chart when the github API isn't available 2021-07-02 18:11:48 -07:00
Yaron Schneider 7dc12c3918
fix init -k without --runtime-version (#721) 2021-05-19 12:17:07 -07:00
Yaron Schneider c7d86ec004
apply crds on init -k (#714) 2021-05-19 08:47:08 -07:00
Phil Kedy e966e40694
Add --wait amd --timeout flags for dapr init -k which are passed to Helm (#629)
* Added --wait flag for dapr init -k which is passed on to Helm

* Simplification

* Added --timeout flag to kubernetes init, upgrade, and uninstall

* Tweaks

* Tweak

* Fixing conflict after merge from master

Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
2021-03-17 11:15:18 -07:00
Phil Kedy 47d369d490 Adding JSON logging format and simplifying/centralizing spinner output 2021-03-16 16:38:38 -04:00
Yaron Schneider 3ee9e53338
add renewed headers (#588) 2021-02-10 08:37:08 -08:00
Betula-L 49afc98aa6
support assign specified dashboard version for init (#535)
Signed-off-by: luhualin <n.betula.lu@gmail.com>

Co-authored-by: root <root@nvm-ops-image-lnx-1>
2021-01-25 10:14:26 -08:00
Yaron Schneider 53cfd114ef
Add support for all helm values on init/upgrade (#575)
* add support for all helm options on init/upgrade

* update readme
2021-01-06 16:07:04 -08:00
Yaron Schneider 1cb3db14d1
update helm and k8s packages (#564) 2020-12-16 17:05:10 -08:00
Mukundan Sundararajan 24ca35d78b
Upgrade to linter v1.31.0 (#447)
* Upgrade to linter v1.30.0

* Remove --fix from lint

* Fix linter issues

* use golang-ci lint action

* Fix linter version

* add linter patch version

* remove linter patch version
2020-10-07 17:24:12 -07:00
Young Bu Park 3f8ebf88ce
Move helm repo from ACR to GH Page (#468)
Move helm repo from ACR to GH Page
2020-09-24 14:03:22 -07:00
Yaron Schneider 294fa19a20
Add root cert expiry check command (#434)
* add root cert expiry check command

* fix helm repo url
2020-08-13 18:08:34 -07:00
Yaron Schneider 2dfe958269
Refactor init on kubernetes to use Helm (#432)
* refactor init on kubernetes to use Helm

* linter

* linter 2

* update README

* change repo url
2020-08-13 12:59:47 -07:00
Shalabh Mohan Shrivastava 86e6d6d65d
Adding support for --runtime-version flag for dapr init k8s (#316)
* Adding support for --runtime-version flag for dapr init k8s

* fixing lint error and changing the command text version

Co-authored-by: Aman Bhardwaj <amanbha@users.noreply.github.com>
2020-04-09 17:01:04 -07:00
Shalabh Mohan Shrivastava 43a4a9809e
Updating dapr init -k installation message (#317)
* Updating dapr init -k installation message

* Resolving code review comments.
2020-04-08 17:04:54 -07:00
pruthvidhodda 157a87f1cd
Update the URL to pull dapr-operator.yaml (#293)
* Update the URL to pull dapr-operator.yaml

* Get manifest from latest release

* Add nosec to avoid variable URL linter error

* Move GetLatestRelease() to pkg/version

* Move two consts to pkg/version

* Change package alias
2020-03-18 12:47:09 -07:00
pruthvidhodda 0d21ae2a78
Make changes for programmatically installing a custom resource (#291)
* Fix configuration error when running init (#269)
* Make changes for programmatically installing a custom resource
2020-03-16 17:09:32 -07:00
Abhishek Gupta 8699ed9a8a
Checking containers are running before "dapr init" (#226)
* checking containers are running before dapr init

* updated impl

* removed constraint for placement container

* updated RunCmdAndWait and refactored

* fix lint issues

* fix linter

* correction

Co-authored-by: Young Bu Park <youngp@microsoft.com>
2020-02-11 11:30:58 -08:00
Young Bu Park c00014497b
Show the detail error message when KUBECONFIG includes multiple configs (#242)
* fix typo

* handle multiple configs

* show k8s initialization errors
2020-02-05 17:05:02 -08:00
Young Bu Park f84566fb2b
Enable linter and fix all linter errors (#241)
* Enable golangci linter

* remove gomnd

* upgrade golang lint

* upgrade go to 1.13.7

* fix messages

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-02-03 09:07:32 -08:00
shaggygi 7f5fdf176c Cleaned up a few comments and strings 2019-11-30 19:05:33 -05:00
Young Bu Park e9e261a420 Merge release-0.4 to master (#141)
* Enable uninstall to remove placement container for standalone mode (#120)

* Uninstall placement container in standalone

* fix lint error

* remove useless logging

* simplify more

* Add v0.4.0-alpha.2 rel note (#125)

* add 0.4.0-alpha.2 release note

* add changes

* wip
2019-10-11 16:22:34 -07:00
Yaron Schneider 05e4a022d3
clear error on missing kube config (#124) 2019-10-11 10:47:29 -07:00
shalabhs 93e4884096 Adding code comments as part of release checklists 2019-10-09 11:14:48 -07:00
Aman Bhardwaj 6debcf2610 Adding license header and updating to MIT license. 2019-10-08 16:36:31 -07:00
Yaron Schneider 9761ba2718
release name (#110) 2019-10-02 17:16:33 -07:00
Yaron Schneider 36973dca2f
name change (#109) 2019-10-02 16:40:04 -07:00
Yaron Schneider 952be2dbe1
friendlier spinner (#84)
* friendlier spinner

* update readme icon

* another icon update
2019-09-17 14:59:35 -07:00
Yaron Schneider 7f951d777a
fix windows progress bar (#48) 2019-08-30 15:23:51 -07:00
Yaron Schneider a612f4cf4d
Added progress, aligned installation texts (#34)
* change phrasing

* added progress, fixed phrasing

* update vendor

* remove redundant instruction
2019-08-16 11:40:00 -07:00
Lior Kamrat 083c294ac9 change manifest location (#33) 2019-08-14 14:10:46 -07:00
Lior Kamrat b2752896b4 fix url (#26) 2019-08-02 14:13:29 -07:00
yaron2 8564568ba3 initial commit 2019-06-20 15:28:52 -07:00