1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg
Abhinav Sinha a1182859ad
Added x509_decode JMESPath function (#4664)
* Added `x509_decode` JMESPath function

Signed-off-by: Abhinav Sinha <abhinav@nirmata.com>

* Use `crypto/x509` stdlib

Signed-off-by: Abhinav Sinha <abhinav@nirmata.com>

* Return result as `map[string]interface{}`

Signed-off-by: Abhinav Sinha <abhinav@nirmata.com>

* Made minor fixes

Signed-off-by: Abhinav Sinha <abhinav@nirmata.com>

* Fixed error with unmarshalling decoded certificate

Signed-off-by: Abhinav Sinha <abhinav@nirmata.com>

* Added e2e test for decoding X.509 certs

Signed-off-by: Abhinav Sinha <abhinav@nirmata.com>

* Reverted to using `smallstep/zcrypto` for X.509

Signed-off-by: Abhinav Sinha <abhinav@nirmata.com>

* Minor fix

Signed-off-by: Abhinav Sinha <abhinav@nirmata.com>

* Addressed reviews

Signed-off-by: Abhinav Sinha <abhinav@nirmata.com>

* Removed redundant dependency on `pkg/errors`

Signed-off-by: Abhinav Sinha <abhinav@nirmata.com>

Signed-off-by: Abhinav Sinha <abhinav@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
2022-09-28 18:15:39 +00:00
..
auth refactor: add auth interface and unit tests (#4518) 2022-09-07 06:54:34 +00:00
autogen Support PSa integration by controlName only (#4710) 2022-09-28 10:03:53 +00:00
background feat: add matchlabel selector support with multiple clone (#4713) 2022-09-28 17:44:38 +02:00
client feat: reports v2 implementation (#4608) 2022-09-28 17:15:16 +05:30
clients feat: reports v2 implementation (#4608) 2022-09-28 17:15:16 +05:30
common refactor: client wrappers (#4519) 2022-09-07 12:01:43 +08:00
config feat: reports v2 implementation (#4608) 2022-09-28 17:15:16 +05:30
controllers feat: reports v2 implementation (#4608) 2022-09-28 17:15:16 +05:30
cosign refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
engine Added x509_decode JMESPath function (#4664) 2022-09-28 18:15:39 +00:00
event Add the metric "kyverno_client_queries_total" (#4359) 2022-08-31 11:33:47 +05:30
leaderelection refactor: use pod name as leader id (#4680) 2022-09-26 16:25:27 +00:00
metrics Add the metric "kyverno_client_queries_total" (#4359) 2022-08-31 11:33:47 +05:30
openapi Fix multiple crd slowness issue (#4275) 2022-09-12 16:14:28 +08:00
policy feat: add matchlabel selector support with multiple clone (#4713) 2022-09-28 17:44:38 +02:00
policycache Yaml signing and verification (#4235) 2022-08-30 10:14:54 -07:00
policymutation refactor: make toggles easier to define and use (#4456) 2022-08-31 06:41:14 +00:00
policyreport feat: reports v2 implementation (#4608) 2022-09-28 17:15:16 +05:30
pss Support PSa integration by controlName only (#4710) 2022-09-28 10:03:53 +00:00
registryclient chore: fix golangcilint timeout (#4388) 2022-08-24 21:08:24 +08:00
testrunner Add the metric "kyverno_client_queries_total" (#4359) 2022-08-31 11:33:47 +05:30
tls refactor: add a couple of constants in api (#4640) 2022-09-19 09:11:12 +00:00
toggle feat: reports v2 implementation (#4608) 2022-09-28 17:15:16 +05:30
tracing Add shutdown methods for exporters and controllers (#4214) 2022-07-25 09:25:26 +00:00
userinfo chore: make kube informers and listers import aliases consistent (#3957) 2022-05-17 17:51:03 +02:00
utils feat: reports v2 implementation (#4608) 2022-09-28 17:15:16 +05:30
version Added appropriate logging levels to log.Info() calls wherever necessary (#4341) 2022-08-18 13:24:59 +00:00
webhookconfig fix: split webhook handlers per failure policy (#4650) 2022-09-26 15:55:46 +00:00
webhooks feat: reports v2 implementation (#4608) 2022-09-28 17:15:16 +05:30