mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
17 lines
No EOL
432 B
YAML
17 lines
No EOL
432 B
YAML
# file path relative to project root
|
|
input:
|
|
policy: samples/more/restrict_ingress_classes.yaml
|
|
resource: test/resources/ingress-nginx.yaml
|
|
expected:
|
|
validation:
|
|
policyresponse:
|
|
policy: restrict-ingress-classes
|
|
resource:
|
|
kind: Ingress
|
|
apiVersion: v1
|
|
namespace: ''
|
|
name: test-ingress
|
|
rules:
|
|
- name: validate-ingress
|
|
type: Validation
|
|
success: true |