apiVersion: route.openshift.io/v1
kind: Route
metadata:
  name: landing-www
  namespace: container-mom-landing
  labels:
    app: container-mom-landing
spec:
  host: www.container.mom
  port:
    targetPort: 8080
  tls:
    insecureEdgeTerminationPolicy: Redirect
    termination: edge
    externalCertificate:
      name: container-mom-root-tls
      namespace: openshift-ingress
  to:
    kind: Service
    name: container-mom-landing
    weight: 100
  wildcardPolicy: None 