mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 18:06:55 +00:00
* 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> |
||
---|---|---|
.. | ||
01-policy.yaml | ||
02-resources.yaml | ||
policy-assert.yaml | ||
policy.yaml | ||
README.md | ||
resource-no-signature.yaml | ||
resource-one-signature.yaml | ||
resource-two-signatures.yaml |
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.