Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.

Commit 9d56973

Browse files
committed
add option to enable TLS via environment variable
1 parent 38bcb3e commit 9d56973

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

output/elasticsearch/fluent-bit-configmap.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ data:
4343
Match *
4444
Host ${FLUENT_ELASTICSEARCH_HOST}
4545
Port ${FLUENT_ELASTICSEARCH_PORT}
46+
tls ${FLUENT_ELASTICSEARCH_TLS}
4647
Logstash_Format On
4748
Retry_Limit False
4849

output/elasticsearch/fluent-bit-ds-minikube.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ spec:
2323
value: "elasticsearch"
2424
- name: FLUENT_ELASTICSEARCH_PORT
2525
value: "9200"
26+
- name: FLUENT_ELASTICSEARCH_TLS
27+
value: "Off"
2628
volumeMounts:
2729
- name: varlog
2830
mountPath: /var/log

0 commit comments

Comments
 (0)