From a9e72eec0f037ccdb0dec9a9bf0ade8b39265431 Mon Sep 17 00:00:00 2001 From: Ravi Kumar Date: Thu, 30 Aug 2018 18:12:27 +0530 Subject: [PATCH] [incubator/kafka][bugfix] Mount secret items to proper subpaths (#7423) Signed-off-by: rustycl0ck --- incubator/kafka/Chart.yaml | 2 +- incubator/kafka/templates/statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/incubator/kafka/Chart.yaml b/incubator/kafka/Chart.yaml index 34d37d79fa..c627edd98f 100755 --- a/incubator/kafka/Chart.yaml +++ b/incubator/kafka/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: Apache Kafka is publish-subscribe messaging rethought as a distributed commit log. name: kafka -version: 0.9.0 +version: 0.9.1 appVersion: 4.1.2 keywords: - kafka diff --git a/incubator/kafka/templates/statefulset.yaml b/incubator/kafka/templates/statefulset.yaml index e1a1db4f60..f61a9d2500 100644 --- a/incubator/kafka/templates/statefulset.yaml +++ b/incubator/kafka/templates/statefulset.yaml @@ -201,7 +201,7 @@ spec: {{- if $secret.mountPath }} {{- range $key := $secret.keys }} - name: {{ include "kafka.fullname" $ }}-{{ $secret.name }} - mountPath: {{ $secret.mountPath }} + mountPath: {{ $secret.mountPath }}/{{ $key }} subPath: {{ $key }} readOnly: true {{- end }}