[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]