From 6c0996a2e1593c41d5625b228f2916635f5c3514 Mon Sep 17 00:00:00 2001 From: Sean Glover Date: Wed, 4 Sep 2019 11:16:32 -0400 Subject: [PATCH] Allow Helm to quote Kafka client property values when necessary --- charts/kafka-lag-exporter/templates/030-ConfigMap.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/kafka-lag-exporter/templates/030-ConfigMap.yaml b/charts/kafka-lag-exporter/templates/030-ConfigMap.yaml index 3bd6deb8..05f1de66 100644 --- a/charts/kafka-lag-exporter/templates/030-ConfigMap.yaml +++ b/charts/kafka-lag-exporter/templates/030-ConfigMap.yaml @@ -22,12 +22,12 @@ data: bootstrap-brokers = "{{ $cluster.bootstrapBrokers }}" consumer-properties = { {{- range $key, $val := $cluster.consumerProperties }} - {{ $key }} = "{{ $val }}" + {{ $key }} = {{ quote $val }} {{- end }} } admin-client-properties = { {{- range $key, $val := $cluster.adminClientProperties }} - {{ $key }} = "{{ $val }}" + {{ $key }} = {{ quote $val }} {{- end }} } }