[bitnami/kafka] Kafka-Exporter can start with read only rootfs (#5932)

* fix(kafka) Kafka-Exporter doesn't start with read only rootfs

* Update bitnami/kafka/Chart.yaml

Co-authored-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com>

Co-authored-by: Svetoslav Batchovski <sb@autom8.de>
Co-authored-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com>
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
Svetoslav Batchovski
2021-03-29 16:55:53 +02:00
committed by GitHub
parent bc5cb51007
commit 49c71a3ad6
2 changed files with 2 additions and 3 deletions

View File

@@ -29,4 +29,4 @@ name: kafka
sources:
- https://github.com/bitnami/bitnami-docker-kafka
- https://kafka.apache.org/
version: 12.14.0
version: 12.14.1

View File

@@ -38,7 +38,6 @@ spec:
- /bin/bash
- -ec
- |
read -r -a sasl_passwords <<< "$(tr ',;' ' ' <<< "${SASL_USER_PASSWORD}")"
kafka_exporter \
{{- range $i, $e := until $replicaCount }}
--kafka.server={{ $fullname }}-{{ $i }}.{{ $fullname }}-headless.{{ $releaseNamespace }}.svc.{{ $clusterDomain }}:{{ $servicePort }} \
@@ -46,7 +45,7 @@ spec:
{{- if (include "kafka.client.saslAuthentication" .) }}
--sasl.enabled \
--sasl.username="$SASL_USERNAME" \
--sasl.password="${sasl_passwords[0]}" \
--sasl.password="${SASL_USER_PASSWORD%%,*}" \
{{- end }}
{{- if (include "kafka.client.tlsEncryption" .) }}
--tls.enabled \