1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-06 01:03:33 +00:00
kyverno/test/e2e
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
..
common chore: enable whitespace linter (#3864) 2022-05-10 17:01:29 +00:00
framework chore: fix golangcilint timeout (#4388) 2022-08-24 21:08:24 +08:00
generate fix: handle auth permission for cloneList validation (#4684) 2022-09-26 13:23:00 +05:30
metrics Feature/cosign (#2078) 2021-07-09 18:01:46 -07:00
mutate chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
validate Added x509_decode JMESPath function (#4664) 2022-09-28 18:15:39 +00:00
verifyimages fix: add more verify images e2e test for bool fields (#4172) 2022-06-30 21:36:28 +02:00
utils.go chore: enable noctx linter (#3888) 2022-05-11 17:34:40 +05:30