summaryrefslogtreecommitdiffstats
path: root/kubernetes/cps/templates/cps-kafka-topic.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-01-18 17:22:48 +0000
committerGerrit Code Review <gerrit@onap.org>2023-01-18 17:22:48 +0000
commit2f43e96c6a84b737590cc4db8a5d53fbac8fd586 (patch)
treeecb8536bdd822f81fcf8ff94409fc6611f91e28e /kubernetes/cps/templates/cps-kafka-topic.yaml
parent163086b14def48a1c3f43cf90057d0702f601523 (diff)
parent709ea3f8ba1fc234548d13f818c7ec67e50a9ea8 (diff)
Merge "[CPS] Add new Topic for CPS-NCMP AVC Events"
Diffstat (limited to 'kubernetes/cps/templates/cps-kafka-topic.yaml')
-rw-r--r--kubernetes/cps/templates/cps-kafka-topic.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/cps/templates/cps-kafka-topic.yaml b/kubernetes/cps/templates/cps-kafka-topic.yaml
index b4ecfcd9c4..33613bc39f 100644
--- a/kubernetes/cps/templates/cps-kafka-topic.yaml
+++ b/kubernetes/cps/templates/cps-kafka-topic.yaml
@@ -45,4 +45,14 @@ metadata:
spec:
config:
retention.ms: {{ .Values.config.ncmpAsyncM2MTopic.retentionMs }}
+---
+apiVersion: kafka.strimzi.io/v1beta2
+kind: KafkaTopic
+metadata:
+ name: {{ .Values.config.dmiCmEventsTopic.name }}
+ labels:
+ strimzi.io/cluster: {{ include "common.release" . }}-strimzi
+spec:
+ config:
+ retention.ms: {{ .Values.config.dmiCmEventsTopic.retentionMs }}
{{- end }} \ No newline at end of file