Guys, when i configure the Ingress on K8s, the fro...
# troubleshoot
b
Guys, when i configure the Ingress on K8s, the frontend turn to this gray page instead of the another one. Then i log in, it redirects to a blank page. Can you help me with this?
➕ 1
i
Hello Rafael, can you share your configs for the ingress resource and the values.yaml section relevant to the frontend pod?
b
@incalculable-ocean-74010 sure! <> values were obfuscated.
Copy code
datahub-frontend:
  enabled: true
  image:
    repository: linkedin/datahub-frontend-react
    tag: "latest"
  extraVolumes:
      - name: user-props
        secret:
          secretName: datahub-frontend-pass
  extraVolumeMounts:
      - mountPath: /datahub-frontend/conf/user.props
        name: user-props
        subPath: password
        readOnly: true
  service:
    type: "NodePort"
  ingress:
    enabled: true
    annotations:
      kubernetes.io/ingress.class: alb
      alb.ingress.kubernetes.io/scheme: internet-facing
      alb.ingress.kubernetes.io/target-type: instance
      alb.ingress.kubernetes.io/certificate-arn: <certificate-arn>
      alb.ingress.kubernetes.io/inbound-cidrs: 0.0.0.0/0
      alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS":443}]'
      alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'
    hosts:
      - host: <hostname>
        redirectPaths:
          - path: /*
            name: ssl-redirect
            port: use-annotation
        paths:
          - /*