1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-13 15:57:31 +00:00
kyverno/test/conformance/chainsaw/validate/e2e/yaml-signing(deprecated)/README.md
Mariam Fahmy e892a0531e
chore: add tests that use spec.webhookConfiguration (#10526)
* chore: add tests that use spec.webhookConfiguration

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

* fix chainsaw tests

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

---------

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2024-06-24 13:40:50 +00:00

488 B

Description

This test is migrated from e2e. It tests basic YAML manifest signature validation functionality.

Expected Behavior

The test-deployment (defined in bad.yaml) should fail because it matches the policy conditions yet has not been signed while the test-deployment (defined in 02-good-deployment.yaml) should pass because it also matches yet has been signed and the signature is valid according to the public key defined in the policy.

Reference Issue(s)

N/A