From 19759aa04e489af2e50a92c328a5a32b2eebf5ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Rodr=C3=ADguez=20Hern=C3=A1ndez?= Date: Thu, 6 Aug 2020 16:22:34 +0200 Subject: [PATCH] [bitnami/kafka] Fix typo in helpers (#3344) * [bitnami/kafka] Fix typo in helpers * Increase verbosity --- bitnami/kafka/Chart.yaml | 2 +- bitnami/kafka/templates/_helpers.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bitnami/kafka/Chart.yaml b/bitnami/kafka/Chart.yaml index c54042ab0..27e405a3b 100644 --- a/bitnami/kafka/Chart.yaml +++ b/bitnami/kafka/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: kafka -version: 11.7.1 +version: 11.7.2 appVersion: 2.5.0 description: Apache Kafka is a distributed streaming platform. keywords: diff --git a/bitnami/kafka/templates/_helpers.tpl b/bitnami/kafka/templates/_helpers.tpl index cbe8db1c9..4dae244cb 100644 --- a/bitnami/kafka/templates/_helpers.tpl +++ b/bitnami/kafka/templates/_helpers.tpl @@ -511,8 +511,8 @@ kafka: auth.clientProtocol auth.interBrokerProtocol {{- $replicaCount := int .Values.replicaCount }} {{- $nodePortListLength := len .Values.externalAccess.service.nodePorts }} {{- if and .Values.externalAccess.enabled (not .Values.externalAccess.autoDiscovery.enabled) (not (eq $replicaCount $nodePortListLength )) (eq .Values.externalAccess.service.type "NodePort") -}} -kafka: .Values.externalAccess.service.nodePort - Number of replicas and nodePort array length must be the same. +kafka: .Values.externalAccess.service.nodePorts + Number of replicas and nodePort array length must be the same. Currently: replicaCount = {{ $replicaCount }} and nodePorts = {{ $nodePortListLength }} {{- end -}} {{- end -}}