From a8084675dca3f8a05f16508e9c39963502cf6bff Mon Sep 17 00:00:00 2001 From: BacLuc Date: Fri, 29 Dec 2023 20:55:58 +0100 Subject: [PATCH] ecamp3-logging: enable empty elasticsearch username/password for filebeat --- .../templates/filebeat/filebeat_config_map.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.helm/ecamp3-logging/templates/filebeat/filebeat_config_map.yaml b/.helm/ecamp3-logging/templates/filebeat/filebeat_config_map.yaml index e60792f416..fa6bd9d23f 100644 --- a/.helm/ecamp3-logging/templates/filebeat/filebeat_config_map.yaml +++ b/.helm/ecamp3-logging/templates/filebeat/filebeat_config_map.yaml @@ -74,6 +74,6 @@ data: cloud.auth: ${ELASTIC_CLOUD_AUTH} output.elasticsearch: - hosts: ['${ELASTICSEARCH_HOST:elasticsearch}:${ELASTICSEARCH_PORT:9200}'] - username: ${ELASTICSEARCH_USERNAME} - password: ${ELASTICSEARCH_PASSWORD} + hosts: [ '${ELASTICSEARCH_HOST:elasticsearch}:${ELASTICSEARCH_PORT:9200}' ] + username: ${ELASTICSEARCH_USERNAME:-} + password: ${ELASTICSEARCH_PASSWORD:-}