1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 07:57:07 +00:00
kyverno/test/conformance/kuttl/ttl/delete-twice
Charles-Edouard Brétéché e9c8a3da0a
test: add test to cleanup the same resource twice (#7965)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-08-03 16:49:34 +00:00
..
01-pod.yaml test: add test to cleanup the same resource twice (#7965) 2023-08-03 16:49:34 +00:00
02-check.yaml test: add test to cleanup the same resource twice (#7965) 2023-08-03 16:49:34 +00:00
03-pod.yaml test: add test to cleanup the same resource twice (#7965) 2023-08-03 16:49:34 +00:00
04-check.yaml test: add test to cleanup the same resource twice (#7965) 2023-08-03 16:49:34 +00:00
pod-assert.yaml test: add test to cleanup the same resource twice (#7965) 2023-08-03 16:49:34 +00:00
pod.yaml test: add test to cleanup the same resource twice (#7965) 2023-08-03 16:49:34 +00:00
README.md test: add test to cleanup the same resource twice (#7965) 2023-08-03 16:49:34 +00:00

## Description

This test cleans up pods via a label assignment named cleanup.kyverno.io/ttl: 10s. Once deleted, the pod is created a second time and we expect to be deleted again.

Expected Behavior

The pod test-pod is cleaned up successfully after 10s twice.

Reference Issue(s)