apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: backstage
  namespace: "janus-idp"
  labels:
    app.kubernetes.io/component: backstage
    backstage.io/kubernetes-id: janus-idp
spec:
  tls:
    - hosts:
      - janus-idp.apps.smaug.na.operate-first.cloud
      - showcase.janus-idp.io
      secretName: janus-idp-cert
  rules:
    - host: janus-idp.apps.smaug.na.operate-first.cloud
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: backstage
                port:
                  number: 7007
    - host: showcase.janus-idp.io
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: backstage
                port:
                  number: 7007
