mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
* feat: add cli values schema Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * docs Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * makefile Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * v1alpha1 Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * codegen Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * nits Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
23 lines
432 B
YAML
23 lines
432 B
YAML
apiVersion: cli.kyverno.io/v1alpha1
|
|
kind: Test
|
|
metadata:
|
|
name: kyverno-test.yaml
|
|
policies:
|
|
- policy.yaml
|
|
resources:
|
|
- resources.yaml
|
|
results:
|
|
- generatedResource: generated-resource-1.yaml
|
|
kind: Deployment
|
|
policy: test-policy
|
|
resources:
|
|
- resource-a
|
|
result: pass
|
|
rule: rule
|
|
- generatedResource: generated-resource-2.yaml
|
|
kind: Deployment
|
|
policy: test-policy
|
|
resources:
|
|
- resource-b
|
|
result: pass
|
|
rule: rule
|