Not able to access vault UI from browser- Gateway timeout

Hi All,

I have deployed vault with HA(using raft) on k8 using helm chart. I I have a custom DNS vault.abc.com for it. I have created an ingress route that will redirect the incoming request from DNS to my vault-service on 8200 port. But when I am trying to access the URL on browser, I am getting “gateway timeout”. Any idea on this?

Below is the my helm config.

ha:
enabled: true
replicas: 2

# If set to null, this will be set to the Pod IP Address
apiAddr: null
clusterAddr: null

raft:

  # Enables Raft integrated storage
  enabled: true
  # Set the Node Raft ID to the name of the pod
  setNodeId: false

  config: |
    ui = true

    listener "tcp" {
      tls_disable = 1
      address = "[::]:8200"
      cluster_address = "[::]:8201"
      # Enable unauthenticated metrics access (necessary for Prometheus Operator)
      #telemetry {
      #  unauthenticated_metrics_access = "true"
      #}
    }

    storage "raft" {
      path = "/vault/data"
    }

    service_registration "kubernetes" {}

    ingressHost:
      enabled: true
      url: "vault.abc.com"
      class: ''
      tls:
        enabled: true
        certificate:
          issuer: acme

Ingress Route.yaml

{{- if and .Values.ingressHost.enabled .Values.ingressHost.tls.enabled }}
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: {{ template “vault.fullname” . }}
spec:
{{- if .Values.ingressHost.tls.enabled}}
entryPoints:
- websecure
tls:
secretName: {{ template “vault.fullname” . }}-tls-secret
{{- end }}
{{- if not .Values.ingressHost.tls.enabled }}
entryPoints:
- web
{{- end }}
routes:
- match: Host({{ .Values.ingressHost.url }})
kind: Rule
services:
- name: {{ template “vault.fullname” . }}
port: 8200
{{ end }}