1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
kyverno/test/conformance/kuttl/exceptions/applies-to-delete
Charles-Edouard Brétéché 9078acb92a
fix: exceptions not considered on delete (#7433)
* fix: helm template for cleanup jobs image

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

* fix: exceptions not considered on delete

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

* kuttl test

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-06-06 22:15:10 +08:00
..
01-policy.yaml fix: exceptions not considered on delete (#7433) 2023-06-06 22:15:10 +08:00
02-exception.yaml fix: exceptions not considered on delete (#7433) 2023-06-06 22:15:10 +08:00
03-namespace.yaml fix: exceptions not considered on delete (#7433) 2023-06-06 22:15:10 +08:00
04-deployment.yaml fix: exceptions not considered on delete (#7433) 2023-06-06 22:15:10 +08:00
05-delete.yaml fix: exceptions not considered on delete (#7433) 2023-06-06 22:15:10 +08:00
deployment.yaml fix: exceptions not considered on delete (#7433) 2023-06-06 22:15:10 +08:00
exception.yaml fix: exceptions not considered on delete (#7433) 2023-06-06 22:15:10 +08:00
namespace.yaml fix: exceptions not considered on delete (#7433) 2023-06-06 22:15:10 +08:00
policy-assert.yaml fix: exceptions not considered on delete (#7433) 2023-06-06 22:15:10 +08:00
policy.yaml fix: exceptions not considered on delete (#7433) 2023-06-06 22:15:10 +08:00
README.md fix: exceptions not considered on delete (#7433) 2023-06-06 22:15:10 +08:00

Description

This test creates a policy, a policy exception and tries to create a deployment violating the policy. The deployment is then deleted.

Expected Behavior

Both creation and deletion should be accepted, the exception applies to all operations.

Reference Issue(s)

7423