1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-13 15:57:31 +00:00
kyverno/test/conformance/kuttl/validate/e2e/yaml-signing/README.md
Chip Zoller ff9328809b
Migrate validate e2e tests to kuttl tests (#5483)
* add global-anchor test

Signed-off-by: Chip Zoller <chipzoller@gmail.com>

* add trusted-images test

Signed-off-by: Chip Zoller <chipzoller@gmail.com>

* add yaml-signing test

Signed-off-by: Chip Zoller <chipzoller@gmail.com>

* add x509-decode test

Signed-off-by: Chip Zoller <chipzoller@gmail.com>

Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
2022-11-28 14:04:21 +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