mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
cleanUp
This commit is contained in:
parent
21d174a2bf
commit
17895e9718
2 changed files with 0 additions and 40 deletions
|
@ -1,20 +0,0 @@
|
|||
# file path relative to project root
|
||||
input:
|
||||
policy: test/scenarios/policy_validate_loadblancer.yaml
|
||||
resource: test/scenarios/resource_lb1.yaml
|
||||
loadresources:
|
||||
- examples/query/resource_ns_test.yaml
|
||||
expected:
|
||||
query:
|
||||
policyresponse:
|
||||
policy: query1
|
||||
resource:
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
namespace: test
|
||||
name: lb1
|
||||
rules:
|
||||
- name: Max one service of type LoadBalancer in namespace test
|
||||
type: Query
|
||||
success: true
|
||||
message: "Query rule Max one service of type LoadBalancer in namespace test success. (recieved) 1 == (expected) <=1"
|
|
@ -1,20 +0,0 @@
|
|||
# file path relative to project root
|
||||
input:
|
||||
policy: test/scenarios/policy_validate_no_loadblancer.yaml
|
||||
resource: test/scenarios/resource_lb1.yaml
|
||||
loadresources:
|
||||
- test/scenarios/resource_ns_test.yaml
|
||||
expected:
|
||||
query:
|
||||
policyresponse:
|
||||
policy: query1
|
||||
resource:
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
namespace: test
|
||||
name: lb1
|
||||
rules:
|
||||
- name: No service of type LoadBalancer in namespace test
|
||||
type: Query
|
||||
success: false
|
||||
message: "Query rule No service of type LoadBalancer in namespace test failed, (recieved) 1!=(expected) 0"
|
Loading…
Reference in a new issue