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