apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: portal-ingress
  namespace: container-mom-system
  annotations:
    cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
  ingressClassName: nginx
  tls:
  - hosts:
    - "portal.container.mom"
    secretName: portal-tls
  rules:
  - host: "portal.container.mom"
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: container-mom-portal
            port:
              number: 8080 