Skip to content

Commit 5222cc0

Browse files
committed
make tls config in elastic more clearer
Signed-off-by: Anson Liu <[email protected]>
1 parent eeab410 commit 5222cc0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

charts/fluent-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ keywords:
66
- fluent-bit
77
- fluentd
88
- operator
9-
version: 3.4.1
9+
version: 3.4.2
1010
# renovate: datasource=docker depName=ghcr.io/fluent/fluent-operator/fluent-operator
1111
appVersion: "3.4.0"
1212
icon: https://raw.githubusercontent.com/fluent/fluent-operator/master/docs/images/fluent-operator-icon.svg

charts/fluent-operator/templates/fluentbit-output-elasticsearch.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ spec:
4141
traceError: {{ .Values.fluentbit.output.es.traceError | default false }}
4242
generateID: true
4343
timeKey: "@timestamp"
44-
{{- if .Values.fluentbit.output.es.enableTLS }}
44+
{{- if and .Values.fluentbit.output.es.tls .Values.fluentbit.output.es.tls.enable }}
4545
tls:
46-
{{- toYaml .Values.fluentbit.output.es.tls | nindent 6 }}
46+
{{- omit .Values.fluentbit.output.es.tls "enable" | toYaml | nindent 6 }}
4747
{{- end }}
4848
{{- end }}
4949
{{- end }}

charts/fluent-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,9 @@ fluentbit:
284284
# httpPassword:
285285
# logstashFormat: true
286286
# replaceDots: false
287-
# enableTLS: false
288287
# writeOperation: upsert
289288
# tls:
289+
# enable: false
290290
# verify: On
291291
# debug: 1
292292
# caFile: "<Absolute path to CA certificate file>"

0 commit comments

Comments
 (0)