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

     1  apiVersion: networking.k8s.io/v1beta1
     2  kind: Ingress
     3  metadata:
     4    name: cafe-ingress
     5    annotations:
     6      kubernetes.io/ingress.class: "nginx"
     7      appprotect.f5.com/app-protect-policy: "default/dataguard-alarm"
     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: "default/logconf"
    11      appprotect.f5.com/app-protect-security-log-destination: "syslog:server=127.0.0.1:514"
    12  spec:
    13    tls:
    14    - hosts:
    15      - cafe.example.com
    16      secretName: cafe-secret
    17    rules:
    18    - host: cafe.example.com
    19      http:
    20        paths:
    21        - path: /tea
    22          backend:
    23            serviceName: tea-svc
    24            servicePort: 80
    25        - path: /coffee
    26          backend:
    27            serviceName: coffee-svc
    28            servicePort: 80