[stable/kibana] FATAL ValidationError: child "elasticsearch" fails because ["hosts" is not allowed]

[Kibana 6.5.4]

We are using Kibana 6.5.4, therefor as stated in the values.yaml we have swapped the elasticsearch.hosts for .url, still to no effect.

Version of Helm and Kubernetes : K8s 1.13.3

Which chart :
stable/kibana

What happened :
Kibana pod reports:
FATAL ValidationError: child "elasticsearch" fails because ["hosts" is not allowed]

{"type":"error","@timestamp":"2019-05-23T06:15:39Z","tags":["fatal","root"],"pid":1,"level":"fatal","error":{"message":"child \"elasticsearch\" fails because [\"hosts\" is not allowed]","name":"ValidationError","stack":"ValidationError: child \"elasticsearch\" fails because [\"hosts\" is not allowed]\n

What you expected to happen :
elasticsearch.url: elasticsearch-client:9200
to be accepted as a string

How to reproduce it (as minimally and precisely as possible):
helm install --name kibana stable/kibana (6.5.4 with the proper values edited)
kubectl logs kibana

Some more Info after digging further:

We were able to get kibana running by passing the elastic-url via environment variable.
But even this only works, if ALL entries of the kibana.yaml are commented out, leaving the file empty. If there is at least one line in the file (e.g. server.name: kibana), the validation error occurs again:
FATAL ValidationError: child "elasticsearch" fails because ["hosts" is not allowed]

Hello,

For Kibana 6.5.4 the elasticsearch.hosts variable was not used, It's supposed to be elasticsearch.url. Try using that as a key.
https://www.elastic.co/guide/en/kibana/6.5/settings.html

Hello!
Thanks for the quick reply!
We are using elasticsearch.url: http://elasticsearch-client:9200

And still we become the error:
FATAL ValidationError: child "elasticsearch" fails because ["hosts" is not allowed]

We discovered that we were pulling the wrong chart version of Kibana. This topic can be closed.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.