mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 18:06:55 +00:00
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> Co-authored-by: shuting <shuting@nirmata.com>
17 lines
No EOL
424 B
YAML
Executable file
17 lines
No EOL
424 B
YAML
Executable file
# yaml-language-server: $schema=https://raw.githubusercontent.com/kyverno/chainsaw/main/.schemas/json/test-chainsaw-v1alpha1.json
|
|
apiVersion: chainsaw.kyverno.io/v1alpha1
|
|
kind: Test
|
|
metadata:
|
|
name: should-autogen
|
|
spec:
|
|
steps:
|
|
- name: create policy
|
|
try:
|
|
- create:
|
|
file: policy.yaml
|
|
- sleep:
|
|
duration: 20s
|
|
- name: check autogen policy
|
|
try:
|
|
- assert:
|
|
file: check-autogen.yaml |