github.com/nginxinc/kubernetes-ingress@v1.12.5/tests/data/appprotect/appprotect-ingress.yaml (about)

     1  apiVersion: extensions/v1beta1
     2  kind: Ingress
     3  metadata:
     4    name: appprotect-ingress
     5    annotations:
     6      kubernetes.io/ingress.class: "nginx"
     7      appprotect.f5.com/app-protect-policy: "test-namespace/example-policy"
     8      appprotect.f5.com/app-protect-enable: "True"
     9      appprotect.f5.com/app-protect-security-log-enable: "True"
    10      appprotect.f5.com/app-protect-security-log: "test-namespace/logconf"
    11      appprotect.f5.com/app-protect-security-log-destination: "syslog:server=<IP>:<PORT>"
    12  spec:
    13    tls:
    14    - hosts:
    15      - appprotect.example.com
    16      secretName: appprotect-secret
    17    rules:
    18    - host: appprotect.example.com
    19      http:
    20        paths:
    21        - path: /backend1
    22          backend:
    23            serviceName: backend1-svc
    24            servicePort: 80
    25        - path: /backend2
    26          backend:
    27            serviceName: backend2-svc
    28            servicePort: 80