I'm working on getting kibana to work; however, the environment variables are not getting set, not sure what I'm missing or why they would not be set:
Here is the helm chart I'm working from: helm-charts/kibana at master · elastic/helm-charts · GitHub as the basis.
values.yaml file: changes
elasticsearchHosts: "http://logsearch-master:9200"
I did not change anything here, this just shows where it sets the env settings:
deployment.yaml file:
env:
{{- if .Values.elasticsearchURL }}
- name: ELASTICSEARCH_URL
value: "{{ .Values.elasticsearchURL }}"
{{- else if .Values.elasticsearchHosts }}
- name: ELASTICSEARCH_HOSTS
value: "{{ .Values.elasticsearchHosts }}"
{{- end }}
- name: SERVER_HOST
value: "{{ .Values.serverHost }}"
From the container looking at the kabana.yaml file it shows:
bash-4.4$ cat /opt/kibana/config/kibana.yml
#
# ** THIS IS AN AUTO-GENERATED FILE **
#
# Default Kibana configuration for docker target
server.name: kibana
server.host: "0"
elasticsearch.hosts: [ "http://elasticsearch:9200" ]
monitoring.ui.container.elasticsearch.enabled: truebash-4.4