[incubator/kafka][bugfix] Mount secret items to proper subpaths (#7423)

Signed-off-by: rustycl0ck <the.absolute.dude@gmail.com>
This commit is contained in:
Ravi Kumar
2018-08-30 05:42:27 -07:00
committed by k8s-ci-robot
parent fd03340511
commit a9e72eec0f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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 }}