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

16 Коммитов

Автор SHA1 Сообщение Дата
Nilekh Chaudhari c0e39e704d
feat: implements mlog (#241)
<!-- Thank you for helping KMS Plugin for Key Vault with a pull request!
-->

**Reason for Change**:
<!-- What does this PR improve or fix in KMS Plugin for Key Vault? Why
is it needed? -->
The logging process will be moved to mlog to provide users with better
control over log levels.


**Issue Fixed**:
<!-- If this PR fixes GitHub issue 1234, add "Fixes #1234" to the next
line. -->
fixes https://github.com/Azure/kubernetes-kms/issues/236

**Notes for Reviewers**:

Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
2023-08-09 15:29:59 -04:00
Nilekh Chaudhari 71ea631f5a
feat: implements kms v2beta1 APIs (#210)
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
2023-05-17 11:39:02 -07:00
Sertaç Özercan e77adb6874
chore: update linters (#217)
* chore: update linters

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>

* Apply suggestions from code review

Co-authored-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Signed-off-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com>

* Update .golangci.yml

Co-authored-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Signed-off-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com>

* fix formatting

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>

---------

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Signed-off-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com>
Co-authored-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-04-19 11:18:40 -07:00
Nilekh Chaudhari e4f695b64f
chore: updates lint (#212)
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
2023-04-11 15:19:53 -07:00
Anish Ramasekar 45b248cc81
chore: update deps for v1.25.0 (#172)
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-09-20 09:10:06 -07:00
Anish Ramasekar b6997f5614
chore: update k8s deps to v1.24 (#164)
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-07-22 17:04:25 -07:00
Anish Ramasekar 764f341bb1
chore: use structured logging and update imports order (#135)
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-04-08 23:23:21 +05:30
Anish Ramasekar 27c7d31a94
feat: add support for managed HSM (#134)
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-04-07 19:24:03 +05:30
Bin Xia 14bc5c4533
Support proxy in case kms-plugin can not access key vault (#119) 2022-03-09 17:16:26 -08:00
Nilekh Chaudhari 0de672d895
Metrics (#104)
* feat: adds otel metrics

Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>

* chore: gofmt

* fix: updates decrypt metrics

* fix: updates tests

* chore: update metric name

* chore: makes comments style consistent

* chore: updates klog to v2

* chore: formatting

* chore: updates modules

* fix: updates metric types

* chore: removes dead code

* fix: passes raw errors to metrics reporter

* docs: adds metrics doc

* chore: updates docs

* chore: simplifies metrics reporting

* feat: implements metrics for grpc server

* chore: updates error key

* test: adds test for grpc method name

* test: adds test for exporter

* chore: updates tests

* docs: updates metrics docs

* test: adds test

* fix: checks error

* refactor: updates report function

* test: updates test

* refactor: updates UnaryServerInterceptor

* chore: updates comment

* docs: updates metrics description

* test: adds test for metrics endpoint
2021-06-07 10:58:53 -07:00
Nilekh Chaudhari 3012412996
fix: handles key vault name with double quotes. (#102)
* fix: handles vault name with double quotes.

Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>

* ping

* chore: gofmt

* fix: adds sanitize util method

* fix: updates tests
2021-05-27 12:37:04 -07:00
Anish Ramasekar fd61ef84f1
chore: update to go 1.16 (#82)
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-03-03 22:36:45 -08:00
Anish Ramasekar aee159b5df
feat: add healthz check for kms plugin (#77) 2021-02-17 16:19:31 -08:00
Anish Ramasekar bf106791a4
ci: enable golangci-lint (#76) 2021-02-10 09:25:02 -08:00
Anish Ramasekar 3f4a6c5c77
test: add e2e tests with kind cluster (#75) 2021-02-08 17:54:31 -08:00
Anish Ramasekar 75eb4339d5
feat: add byok support and refactor (#66)
* feat: add byok support and refactor

* remove create key logic and force key version check
2021-02-05 09:59:06 -08:00