mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 01:46:55 +00:00
* chore: add cli unit tests Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * chore: add cli commands 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>
19 lines
465 B
YAML
19 lines
465 B
YAML
name: karpenter-annotations-to-nodeselector
|
|
policies:
|
|
- policy.yaml
|
|
resources:
|
|
- resource.yaml
|
|
results:
|
|
- kind: Pod
|
|
patchedResource: patched.yaml
|
|
policy: karpenter-annotations-to-nodeselector
|
|
resources:
|
|
- soft-pod-antiaffinity-1
|
|
result: pass
|
|
rule: hard-nodeselector-lifecycle-on-demand
|
|
- kind: Pod
|
|
policy: karpenter-annotations-to-nodeselector
|
|
resources:
|
|
- soft-pod-antiaffinity-1-copy
|
|
result: pass
|
|
rule: hard-nodeselector-lifecycle-on-demand
|