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

     1  apiVersion: extensions/v1beta1
     2  kind: Ingress
     3  metadata:
     4    name: appprotect-ingress
     5    annotations:
     6      nginx.org/grpc-services: "grpc-svc"
     7      kubernetes.io/ingress.class: "nginx"
     8      appprotect.f5.com/app-protect-policy: "default/grpc"
     9      appprotect.f5.com/app-protect-enable: "True"
    10      appprotect.f5.com/app-protect-security-log-enable: "True"
    11      appprotect.f5.com/app-protect-security-log: "default/logconf"
    12      appprotect.f5.com/app-protect-security-log-destination: "syslog:server=172.17.0.10:514"
    13  spec:
    14    tls:
    15    - hosts:
    16      - appprotect.example.com
    17      secretName: appprotect-secret
    18    rules:
    19    - host: appprotect.example.com
    20      http:
    21        paths:
    22        - path: /helloworld.Greeter
    23          backend:
    24            serviceName: grpc-svc
    25            servicePort: 50051