apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: container-mom-portal
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  rules:
  - host: portal.container.mom
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: container-mom-portal
            port:
              number: 80 