1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-13 19:28:55 +00:00
kyverno/pkg
Gurmannat Sohal 6902a2b092
Unit tests for Pod Security Admission Integrations (#8585)
* feat: enable field-restricted exclusions using the psa

Signed-off-by: Liang Deng <283304489@qq.com>

* fix ci error

Signed-off-by: Liang Deng <283304489@qq.com>

* fix ci error

Signed-off-by: Liang Deng <283304489@qq.com>

* initial unit tests

* Add all remaining unit tests

Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>

* fine grain unit tests by adding fields and values

* add detailed pod level exclusion and related tests

* add tests for init & ephemeral containers

* add kuttl tests for the new advanced support

* add kuttl tests for the new advanced support

* add readme for kuttl tests

* add replacement in go.mod

* resolving CI errors

Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>

* fix ci errors

Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>

* fix ci errors

Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>

* updating pod-security-admissio

Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>

* resolving null pointer panic

Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>

* resolved conformance error

Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>

* chainsaw

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* chainsaw

Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>

* remove duplication

Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>

* fix linting

Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>

* remove over computation

Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>

* added field checks, pss skip condition

Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>

* correcting chainsaw tests

Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>

* merge branch 'main' into unit-tests

Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>

* fix builds

Signed-off-by: ShutingZhao <shuting@nirmata.com>

---------

Signed-off-by: Liang Deng <283304489@qq.com>
Signed-off-by: Gurmannat Sohal <iamgurmannatsohal@gmail.com>
Signed-off-by: shuting <shuting@nirmata.com>
Signed-off-by: Gurmannat Sohal <95538438+itsgurmannatsohal@users.noreply.github.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: ShutingZhao <shuting@nirmata.com>
Co-authored-by: Liang Deng <283304489@qq.com>
Co-authored-by: shuting <shuting@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-26 22:28:08 +08:00
..
auth feat: support authorizer variable in CEL expressions (#8024) 2023-09-05 10:16:50 +00:00
autogen Unit tests for Pod Security Admission Integrations (#8585) 2023-12-26 22:28:08 +08:00
background refactor: mutate checks (#9255) 2023-12-22 15:07:17 +02:00
client Unit tests for Pod Security Admission Integrations (#8585) 2023-12-26 22:28:08 +08:00
clients chore: introduce v2 for updaterequests (#9267) 2023-12-23 00:09:02 +00:00
config feat: webhook labels (#9015) 2023-12-07 12:58:31 +00:00
controllers fix: remove policy informer from vap controller (#9279) 2023-12-26 11:45:26 +00:00
cosign Support more signature algorithms (#9102) 2023-12-21 13:27:33 +05:30
engine Unit tests for Pod Security Admission Integrations (#8585) 2023-12-26 22:28:08 +08:00
event refactor: events controller (#9236) 2023-12-22 11:47:22 +01:00
images Reduce deps (#8654) 2023-11-09 13:04:24 +00:00
imageverifycache feat: update descriptions of image verify cache flags (#8770) 2023-11-02 16:10:17 +00:00
informers fix: factorise confimap informer code (#7667) 2023-06-28 04:43:16 +00:00
leaderelection Remove dependency on github.com/pkg/errors (#6165) 2023-02-01 14:38:04 +08:00
logging fix logger level (#9163) 2023-12-15 09:51:24 +00:00
metrics fix: allow dropping metrics, labels and configuring histogram bucket boundaries to avoid high cardinality. (#8569) 2023-10-12 09:50:27 +00:00
notary Reduce deps (#8654) 2023-11-09 13:04:24 +00:00
policy refactor: mutate checks (#9255) 2023-12-22 15:07:17 +02:00
policycache chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
profiling refactor: introduce cmd internal package (#5404) 2022-11-18 22:21:15 +08:00
pss Unit tests for Pod Security Admission Integrations (#8585) 2023-12-26 22:28:08 +08:00
registryclient Reduce deps (#8654) 2023-11-09 13:04:24 +00:00
tls chore: set cert renewal time to 15 days before expiration (#8567) 2023-12-06 13:37:01 +00:00
toggle fix: display a message when the controller has no permissions for VAPs (#8776) 2023-11-01 21:52:03 +08:00
tracing feat: bump otel libs (#8159) 2023-08-30 08:36:58 +00:00
userinfo refactor: reduce userinfos deps and add unit tests (#6524) 2023-03-10 09:09:19 +00:00
utils chore: introduce v2 for internal reports resources (#9262) 2023-12-22 14:09:00 +00:00
validatingadmissionpolicy feat: support vap variables in the CLI (#8182) 2023-08-30 18:03:00 +00:00
validation refactor: mutate checks (#9255) 2023-12-22 15:07:17 +02:00
version fix: use golang builtin version management (#7654) 2023-06-30 23:27:06 +00:00
webhooks refactor: mutate checks (#9255) 2023-12-22 15:07:17 +02:00