github.com/datreeio/datree@v1.9.22-rc/pkg/policy/tests/6/pass/6-pass.yaml (about) 1 apiVersion: networking.k8s.io/v1 2 kind: Ingress 3 metadata: 4 name: minimal-ingress 5 annotations: 6 nginx.ingress.kubernetes.io/rewrite-target: / 7 spec: 8 ingressClassName: nginx-example 9 rules: 10 - host: "*.exmpl.com" 11 http: 12 paths: 13 - path: /testpath 14 pathType: Prefix 15 backend: 16 service: 17 name: test 18 port: 19 number: 80