Sleep¶
The sleep
operation provides a means to sleep for a configured duration.
Reference documentation
The full structure of the Sleep
is documented here.
Usage in Test
¶
Below is an example of using sleep
in a Test
resource.
Example
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
name: example
spec:
steps:
- try:
# ...
- sleep:
duration: 30s
# ...
Usage in TestStep
¶
Below is an example of using sleep
in a TestStep
resource.
Example
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: TestStep
metadata:
name: example
spec:
try:
# ...
- sleep:
duration: 30s
# ...