diff --git a/salt/elasticsearch/files/elasticsearch.yml b/salt/elasticsearch/files/elasticsearch.yml index 6f49c9584..411f5bdf5 100644 --- a/salt/elasticsearch/files/elasticsearch.yml +++ b/salt/elasticsearch/files/elasticsearch.yml @@ -24,21 +24,22 @@ cluster.routing.allocation.disk.watermark.low: 95% cluster.routing.allocation.disk.watermark.high: 98% cluster.routing.allocation.disk.watermark.flood_stage: 98% {%- if FEATURES is sameas true %} -xpack.security.enabled: true +xpack.security.enabled: false xpack.security.http.ssl.enabled: false -xpack.security.transport.ssl.enabled: true +xpack.security.transport.ssl.enabled: false xpack.security.http.ssl.key: /usr/share/elasticsearch/config/elasticsearch.key xpack.security.http.ssl.certificate: /usr/share/elasticsearch/config/elasticsearch.crt xpack.security.http.ssl.certificate_authorities: /usr/share/elasticsearch/config/ca.crt xpack.security.transport.ssl.key: /usr/share/elasticsearch/config/elasticsearch.key xpack.security.transport.ssl.certificate: /usr/share/elasticsearch/config/elasticsearch.crt xpack.security.transport.ssl.certificate_authorities: /usr/share/elasticsearch/config/ca.crt -xpack.security.http.ssl.client_authentication: none -xpack.security.authc: - anonymous: - username: anonymous_user - roles: superuser - authz_exception: true +#xpack.security.transport.ssl.verification_mode: none +#xpack.security.http.ssl.client_authentication: none +#xpack.security.authc: +# anonymous: +# username: anonymous_user +# roles: superuser +# authz_exception: true {%- endif %} node.attr.box_type: {{ NODE_ROUTE_TYPE }} node.name: {{ ESCLUSTERNAME }}