Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[DCAE-HV-VES] Move to use strimzi kafka tpl
[oom.git]
/
kubernetes
/
common
/
common
/
templates
/
_strimzikafka.tpl
diff --git
a/kubernetes/common/common/templates/_strimzikafka.tpl
b/kubernetes/common/common/templates/_strimzikafka.tpl
index
f8f562e
..
a2e9c90
100644
(file)
--- 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:
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaTopic
metadata:
+ {{- if (hasKey $topic "strimziTopicName") }}
+ name: {{ ($topic.strimziTopicName) }}-kt
+ {{- else }}
name: {{ ($topic.name) | lower }}-kt
name: {{ ($topic.name) | lower }}-kt
+ {{- end }}
labels:
strimzi.io/cluster: {{ include "common.release" $ }}-strimzi
spec:
labels:
strimzi.io/cluster: {{ include "common.release" $ }}-strimzi
spec: