Commit Graph

15 Commits

Author SHA1 Message Date
Anton Troshin 17f4785906
Update dependencies, Go version and address CVEs (#1474)
* Update dependencies, Go version and address CVEs

Signed-off-by: Anton Troshin <anton@diagrid.io>

* update golangci-lint version and list of disabled linters form dapr/dapr

Signed-off-by: Anton Troshin <anton@diagrid.io>

* adjust golangci-lint settings and fix lint issues

Signed-off-by: Anton Troshin <anton@diagrid.io>

* fix test

Signed-off-by: Anton Troshin <anton@diagrid.io>

---------

Signed-off-by: Anton Troshin <anton@diagrid.io>
2025-01-09 14:16:44 -08:00
Pravin Pushkar 4818533729
Changes for cli command to renew certificate (#912)
* Changes for cli command to renew certificate

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

* adding renew-cert as subcommand to mtls

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

* Impl for generating fresh certificates with provided  ttl

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

* fix lint and ttl

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

* Adding a flag to restart services

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

* Adding tests and some refactoring

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

* Adding timeout and changing flags detail

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

* fixing review comments

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

* Fixing review comments and test failures

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

* Fixing tests and readme

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

* fixing uninstall and other certificate test

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

* review comments fixes

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-03-23 10:33:48 +05:30
Pravin Pushkar 34353a27e2
Include certificate expiry check in all kubernetes commands (#899)
* Include certificate expiry check in all kubernetes commands

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

* Using PostRun from Cobra and fixing review comments

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

* Modifying logging for error on certificate check

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

* Fixing review comments

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

* Fixing string messages

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-02-25 13:43:08 +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
Long Dai 909b989128
log error info to stderr (#750)
Signed-off-by: Long Dai <long0dai@foxmail.com>

Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-08-24 23:32:19 -07:00
Mukundan Sundararajan ecfc611fc4
Added E2E tests for k8s components and mtls (#663)
* Exit with error on error from dapr mtls command
Add components e2e test
Add mtls check, export and expiry e2e tests

* fix e2e workflow names
2021-04-06 14:02:13 -07:00
Yaron Schneider 3ee9e53338
add renewed headers (#588) 2021-02-10 08:37:08 -08:00
Mukundan Sundararajan 51bbd0a171
updated help messages. provide example for commands. (#544) 2020-12-08 12:04:11 -08:00
Artur Souza 6a303e71f7
Rewording of help messages. (#501)
* Delete reference docs, since docs website has those now.

* Rewording of help messages.
2020-10-29 16:08:21 -07: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
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 155db36c7a
Add certificate export command (#431)
* add certificate export command

* fix linter

* remove redundant binary

* added break

* added comment
2020-08-12 17:19:41 -07:00
Mukundan Sundararajan 51e208c826
Upgrade to linter version 1.26.0 (#381) 2020-06-13 13:03:45 -07:00
Yaron Schneider 2bc0f0aeda
Add mtls info command, bump dapr version (#243)
* add mtls info command, bump dapr version

* update configurations cmd with mtls
2020-02-04 09:06:25 -08:00