mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
* fix: namespace in kyverno-test.yaml seems to have no effect in case of exclude Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix tests Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * unit tests Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
13 lines
255 B
YAML
13 lines
255 B
YAML
name: pdb-test
|
|
policies:
|
|
- policy.yaml
|
|
resources:
|
|
- resource.yaml
|
|
results:
|
|
- generatedResource: generatedResource.yaml
|
|
kind: Deployment
|
|
policy: create-default-pdb
|
|
resources:
|
|
- hello-world/nginx-deployment
|
|
result: pass
|
|
rule: create-default-pdb
|