Skip to content

Commit

Permalink
fix: kafka render TLS config error (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-inf authored Jan 9, 2024
1 parent d85f36c commit c3619f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/kafka/scripts/kafka-exporter-setup.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{{- end }}
{{ $servers = trimSuffix " \\\n" $servers}}
exec kafka_exporter --web.listen-address=:9308 \
{{- if $component.tlsConfig }}
{{- if $.component.tlsConfig }}
--tls.enabled \
{{- end }}
{{ $servers }}
2 changes: 1 addition & 1 deletion addons/kafka/scripts/kafka-exporter-setup.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{{- end }}
{{ $servers = trimSuffix " \\\n" $servers}}
exec kafka_exporter --web.listen-address=:9308 \
{{- if $component.tlsConfig }}
{{- if $.component.tlsConfig }}
--tls.enabled \
{{- end }}
{{ $servers }}

0 comments on commit c3619f8

Please sign in to comment.