github.com/datreeio/datree@v1.9.22-rc/pkg/policy/tests/32/pass/32-pass.yaml (about)

     1  apiVersion: networking.k8s.io/v1
     2  kind: Ingress
     3  metadata:
     4    name: simple-fanout-example
     5    annotations:
     6      something: abc
     7  spec:
     8    rules:
     9    - host: foo.bar.com
    10      http:
    11        paths:
    12        - path: /foo
    13          pathType: Prefix
    14          backend:
    15            service:
    16              name: service1
    17              port:
    18                number: 4200
    19        - path: /bar
    20          pathType: Prefix
    21          backend:
    22            service:
    23              name: service2
    24              port:
    25                number: 8080