1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 09:56:55 +00:00
kyverno/test/conformance/kuttl/verify-manifests/multi-signatures
Vishal Choudhary 62634af6aa
feat: migrate ignoreSCT from rekor to ctlog (#8166)
* feat: migrate ignoreSCT from rekor to ctlog

Signed-off-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>

* fix: update tests for new crd

Signed-off-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>

---------

Signed-off-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-08-30 08:39:49 +02: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 test for bad manifest signatures (#6719) 2023-03-29 12:09:22 +00:00
policy-assert.yaml test: add kuttl tests for manifests verification (#6701) 2023-03-27 12:19:19 -04:00
policy.yaml feat: migrate ignoreSCT from rekor to ctlog (#8166) 2023-08-30 08:39:49 +02:00
README.md test: add kuttl tests for manifests verification (#6701) 2023-03-27 12:19:19 -04:00
resource-bad-signatures.yaml test: add kuttl test for bad manifest signatures (#6719) 2023-03-29 12:09:22 +00: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.