Remove extra users file mounts; disable elastic anon access when auth enabled

This commit is contained in:
Jason Ertel
2021-05-29 07:52:08 -04:00
parent 47b56e78b3
commit a42a406f53
3 changed files with 4 additions and 2 deletions

View File

@@ -14,7 +14,9 @@ elasticsearch.requestTimeout: 90000
logging.dest: /var/log/kibana/kibana.log
telemetry.enabled: false
security.showInsecureClusterWarning: false
{% if not salt['pillar.get']('elasticsearch:auth:enabled', False) %}
xpack.security.authc.providers:
anonymous.anonymous1:
order: 0
credentials: "elasticsearch_anonymous_user"
{% endif %}