ensembl_help_docs_ingress.yaml 396 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:
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /api/$2
  name: ensembl-help-docs-ingress-<SUB_DOMAIN>
spec:
  rules:
  - host: <SUB_DOMAIN>.review.ensembl.org
    http:
      paths:
      - backend:
          serviceName: ensembl-help-and-docs-<DEPLOYMENT_ENV>-svc
          servicePort: 8000
        path: /api/docs($|/)(.*)