From bb0a91520fd218bd09bcc1351e9395fc6a10cc19 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Wed, 7 Jun 2023 15:17:47 +0800 Subject: [PATCH] elastic xpack.security.enabled --- trainer-upgrade/elastic/elastic.yaml | 2 +- trainer-upgrade/elastic/kibana.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/trainer-upgrade/elastic/elastic.yaml b/trainer-upgrade/elastic/elastic.yaml index f610c23..f57f783 100644 --- a/trainer-upgrade/elastic/elastic.yaml +++ b/trainer-upgrade/elastic/elastic.yaml @@ -48,7 +48,7 @@ spec: - name: cluster.initial_master_nodes value: "elastic-0,elastic-1,elastic-2" - name: xpack.security.enabled - value: "false" + value: "true" - name: xpack.monitoring.collection.enabled value: "true" - name: ES_JAVA_OPTS diff --git a/trainer-upgrade/elastic/kibana.yaml b/trainer-upgrade/elastic/kibana.yaml index 4a5a9ef..72781fb 100644 --- a/trainer-upgrade/elastic/kibana.yaml +++ b/trainer-upgrade/elastic/kibana.yaml @@ -8,6 +8,7 @@ data: server.host: 0.0.0.0 elasticsearch.hosts: [ "http://elastic:9200" ] monitoring.ui.container.elasticsearch.enabled: true + xpack.security.enabled: true elasticsearch.username: kibana-admin elasticsearch.password: admin123 ---