From 0c604b38fbc512934d75c8bac3950ca281693b0f Mon Sep 17 00:00:00 2001 From: Victor Unegbu Date: Thu, 12 Oct 2017 16:02:25 -0500 Subject: [PATCH] add option to enable TLS via environment variable --- docker-image/fluent-bit.conf | 1 + fluent-bit-daemonset-elasticsearch.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docker-image/fluent-bit.conf b/docker-image/fluent-bit.conf index bb2853b..f8a2c2d 100644 --- a/docker-image/fluent-bit.conf +++ b/docker-image/fluent-bit.conf @@ -23,5 +23,6 @@ Match * Host ${FLUENT_ELASTICSEARCH_HOST} Port ${FLUENT_ELASTICSEARCH_PORT} + tls ${FLUENT_ELASTICSEARCH_TLS} Logstash_Format On Retry_Limit False diff --git a/fluent-bit-daemonset-elasticsearch.yaml b/fluent-bit-daemonset-elasticsearch.yaml index 6285d36..6e29827 100644 --- a/fluent-bit-daemonset-elasticsearch.yaml +++ b/fluent-bit-daemonset-elasticsearch.yaml @@ -23,6 +23,8 @@ spec: value: "elasticsearch-logging" - name: FLUENT_ELASTICSEARCH_PORT value: "9200" + - name: FLUENT_ELASTICSEARCH_TLS + value: "Off" resources: limits: memory: 100Mi