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