From 9d56973aa026976e72845eaa538826afcf8e7d35 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 --- output/elasticsearch/fluent-bit-configmap.yaml | 1 + output/elasticsearch/fluent-bit-ds-minikube.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/output/elasticsearch/fluent-bit-configmap.yaml b/output/elasticsearch/fluent-bit-configmap.yaml index d2c2ae7..41581fb 100644 --- a/output/elasticsearch/fluent-bit-configmap.yaml +++ b/output/elasticsearch/fluent-bit-configmap.yaml @@ -43,6 +43,7 @@ data: Match * Host ${FLUENT_ELASTICSEARCH_HOST} Port ${FLUENT_ELASTICSEARCH_PORT} + tls ${FLUENT_ELASTICSEARCH_TLS} Logstash_Format On Retry_Limit False diff --git a/output/elasticsearch/fluent-bit-ds-minikube.yaml b/output/elasticsearch/fluent-bit-ds-minikube.yaml index a910b21..f5f4d9e 100644 --- a/output/elasticsearch/fluent-bit-ds-minikube.yaml +++ b/output/elasticsearch/fluent-bit-ds-minikube.yaml @@ -23,6 +23,8 @@ spec: value: "elasticsearch" - name: FLUENT_ELASTICSEARCH_PORT value: "9200" + - name: FLUENT_ELASTICSEARCH_TLS + value: "Off" volumeMounts: - name: varlog mountPath: /var/log