ensembl_graphql_server_ingress.yaml 423 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: ensembl-graphql-server-ingress-<SUB_DOMAIN>
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /$2             
spec:
  rules:
  - host: <SUB_DOMAIN>.review.ensembl.org
    http:
      paths:  
        - path: /toygraphql($|/)(.*)
          backend:
            serviceName: ensembl-graphql-server-<DEPLOYMENT_ENV>-svc
            servicePort: 8000