diff --git a/kafka/helm/kafka/Chart.yaml b/kafka/helm/kafka/Chart.yaml index 630d49b84..c4ee7a19b 100644 --- a/kafka/helm/kafka/Chart.yaml +++ b/kafka/helm/kafka/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kafka description: A Helm chart for Kubernetes type: application -version: 0.2.1 +version: 0.2.2 appVersion: "3.4.0" dependencies: - name: strimzi-kafka-operator diff --git a/kafka/helm/kafka/templates/kafka.yaml b/kafka/helm/kafka/templates/kafka.yaml index aa7b81751..d568d5920 100644 --- a/kafka/helm/kafka/templates/kafka.yaml +++ b/kafka/helm/kafka/templates/kafka.yaml @@ -8,6 +8,10 @@ spec: replicas: {{ .Values.kafka.replicas }} version: {{ .Values.kafka.version }} template: + {{- if .Values.kafkaPodTemplate }} + pod: + {{- toYaml .Values.kafkaPodTemplate | nindent 8 }} + {{- end }} bootstrapService: metadata: labels: @@ -76,6 +80,10 @@ spec: zookeeper: {{ toYaml .Values.zookeeper | nindent 4 }} template: + {{- if .Values.zookeeperPodTemplate }} + pod: + {{- toYaml .Values.zookeeperPodTemplate | nindent 8 }} + {{- end }} clientService: metadata: labels: @@ -90,4 +98,4 @@ spec: kafkaExporter: topicRegex: ".*" groupRegex: ".*" -{{ end }} \ No newline at end of file +{{ end }}