Ingress for Kibana in ECK

Good afternoon,

I'm trying to deploy an Elasticsearch cluster (v1.16.3) using ECK on premise. I'm using OpenEBS for StorageClass.

I created a one-node Elasticsearch cluster and also a Kibana, so I can test if it's working or not. When I create the Ingress, I'm always having a HTTP 502 error. I'm using nginxinc/kubernetes-ingress and I tried different solutions (#942). It is also identified here and here.

This is the YAML I'm using:

apiVersion: elasticsearch.k8s.elastic.co/v1beta1
kind: Elasticsearch
metadata:
  name: elastic-lm
spec:
  version: 7.5.0
  nodeSets:
  - name: default
    count: 1
    config:
      node.master: true
      node.data: true
      node.ingest: true
      node.store.allow_mmap: false

apiVersion: kibana.k8s.elastic.co/v1beta1
kind: Kibana
metadata:
  name: kibana-lm
spec:
  version: 7.5.0
  http:
    service:
      spec:
        type: ClusterIP
  count: 1
  elasticsearchRef:
    name: elastic-lm

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: kibana-lm-ingress
  namespace: default
spec:
  tls:
  - hosts:
    - kibana.example.com
  rules:
  - host: kibana.example.com
    http:
      paths:
      - path: /
        backend:
          serviceName: kibana-lm-kb-http
          servicePort: 5601

Thank you so much,

Fixed with https://github.com/elastic/cloud-on-k8s/issues/2118