apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: dev-simulators-ingress
  labels:
    name: dev-simulators-ingress
  annotations:
      kubernetes.io/ingress.class: "nginx"
      cert-manager.io/cluster-issuer: "letsencrypt-prod"
      nginx.ingress.kubernetes.io/proxy-body-size: "600m"
      nginx.org/client-max-body-size: "600m"
spec: 
  tls:
    - hosts:
        - api.biosimulators.dev
      secretName:  dev-biosimulators-ingress-tls
  rules:
  - host:  api.biosimulators.dev
    http:
      paths:
      - pathType: Prefix
        path: "/"
        backend:
          service:
            name: simulators-api
            port: 
              number: 80
