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

Commit 0c604b3

Browse files
committed
add option to enable TLS via environment variable
1 parent 8674b32 commit 0c604b3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docker-image/fluent-bit.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@
2323
Match *
2424
Host ${FLUENT_ELASTICSEARCH_HOST}
2525
Port ${FLUENT_ELASTICSEARCH_PORT}
26+
tls ${FLUENT_ELASTICSEARCH_TLS}
2627
Logstash_Format On
2728
Retry_Limit False

fluent-bit-daemonset-elasticsearch.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ spec:
2323
value: "elasticsearch-logging"
2424
- name: FLUENT_ELASTICSEARCH_PORT
2525
value: "9200"
26+
- name: FLUENT_ELASTICSEARCH_TLS
27+
value: "Off"
2628
resources:
2729
limits:
2830
memory: 100Mi

0 commit comments

Comments
 (0)