1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/scenarios/samples/more/restrict_ingress_classes.yaml
2019-11-11 17:55:54 -08:00

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