From 5c0678f7cc26241252692d84b4a31862c1204237 Mon Sep 17 00:00:00 2001 From: efiacor Date: Mon, 6 Mar 2023 09:21:57 +0000 Subject: [DCAE-HV-VES] Move to use strimzi kafka tpl Move hv-ves to use strimzi kakfa tpl Topic naming is invalid so adding overrides to tpl Signed-off-by: efiacor Change-Id: Ied93c6329f51c3219b09b4f67f174c9e15727188 Issue-ID: DMAAP-1854 --- kubernetes/common/common/templates/_strimzikafka.tpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kubernetes/common') diff --git a/kubernetes/common/common/templates/_strimzikafka.tpl b/kubernetes/common/common/templates/_strimzikafka.tpl index f8f562e223..a2e9c90a4f 100644 --- a/kubernetes/common/common/templates/_strimzikafka.tpl +++ b/kubernetes/common/common/templates/_strimzikafka.tpl @@ -112,7 +112,11 @@ spec: apiVersion: kafka.strimzi.io/v1beta2 kind: KafkaTopic metadata: + {{- if (hasKey $topic "strimziTopicName") }} + name: {{ ($topic.strimziTopicName) }}-kt + {{- else }} name: {{ ($topic.name) | lower }}-kt + {{- end }} labels: strimzi.io/cluster: {{ include "common.release" $ }}-strimzi spec: -- cgit 1.2.3-korg