1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 18:06:55 +00:00
kyverno/test/conformance/kuttl/verify-manifests/multi-signatures
Charles-Edouard Brétéché 54c5a4e127
test: add kuttl tests for manifests verification (#6701)
* test: add kuttl tests for manifests verification

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

* more

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

* fix

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

* fix readme

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

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-03-27 12:19:19 -04:00
..
01-policy.yaml test: add kuttl tests for manifests verification (#6701) 2023-03-27 12:19:19 -04:00
02-resources.yaml test: add kuttl tests for manifests verification (#6701) 2023-03-27 12:19:19 -04:00
policy-assert.yaml test: add kuttl tests for manifests verification (#6701) 2023-03-27 12:19:19 -04:00
policy.yaml test: add kuttl tests for manifests verification (#6701) 2023-03-27 12:19:19 -04:00
README.md test: add kuttl tests for manifests verification (#6701) 2023-03-27 12:19:19 -04:00
resource-no-signature.yaml test: add kuttl tests for manifests verification (#6701) 2023-03-27 12:19:19 -04:00
resource-one-signature.yaml test: add kuttl tests for manifests verification (#6701) 2023-03-27 12:19:19 -04:00
resource-two-signatures.yaml test: add kuttl tests for manifests verification (#6701) 2023-03-27 12:19:19 -04:00

Description

This test creates a policy to verify manifests signatures. The policy specifies that two signatures are expected to be valid.

Expected Behavior

Resource with no signature should be rejected. Resource with one signature should be rejected. Resource with two signatures should be accepted.