Removes https from rest port

This commit is contained in:
Mike Reeves
2020-08-11 10:02:00 -04:00
parent 59292425c0
commit 32f8ea3158
2 changed files with 1 additions and 9 deletions

View File

@@ -1,15 +1,11 @@
---
# Default Kibana configuration from kibana-docker.
{%- set ES = salt['pillar.get']('manager:mainip', '') -%}
{% set FEATURES = salt['pillar.get']('elastic:features', False) %}
{%- set FEATURES = salt['pillar.get']('elastic:features', False) %}
server.name: kibana
server.host: "0"
server.basePath: /kibana
{% if FEATURES %}
elasticsearch.hosts: [ "https://{{ ES }}:9200" ]
{%- else %}
elasticsearch.hosts: [ "http://{{ ES }}:9200" ]
{%- endif %}
#kibana.index: ".kibana"
#elasticsearch.username: elastic
#elasticsearch.password: changeme

View File

@@ -16,11 +16,7 @@
"hostUrl": "http://{{ MANAGERIP }}:4434/"
},
"elastic": {
{%- if FEATURES %}
"hostUrl": "https://{{ MANAGERIP }}:9200",
{%- else %}
"hostUrl": "http://{{ MANAGERIP }}:9200",
{%- endif %}
"username": "",
"password": "",
"verifyCert": false