summaryrefslogtreecommitdiffstats
path: root/kubernetes/cps/templates
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2023-01-13 10:05:46 +0000
committermpriyank <priyank.maheshwari@est.tech>2023-01-13 11:37:45 +0000
commit709ea3f8ba1fc234548d13f818c7ec67e50a9ea8 (patch)
treec1d776b019e66a1802a7da8789efc66259a7160d /kubernetes/cps/templates
parentf6bda71b5f76434b09004c5adfc8dab8cf17c1c2 (diff)
[CPS] Add new Topic for CPS-NCMP AVC Events
- Adding new topic dmi-cm-events - added user and topic parameters - changed one of the unreachable link for honolulu ( not relevant for CPS but had to do inorder to make the build pass ) Issue-ID: CPS-1385 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: I0037ae727f9f06c3b28a9331c7eb9fd7037f501d Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'kubernetes/cps/templates')
-rw-r--r--kubernetes/cps/templates/cps-kafka-topic.yaml10
-rw-r--r--kubernetes/cps/templates/cps-kafka-user.yaml8
2 files changed, 18 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
diff --git a/kubernetes/cps/templates/cps-kafka-user.yaml b/kubernetes/cps/templates/cps-kafka-user.yaml
index fafc8c3369..229e5dc2d5 100644
--- a/kubernetes/cps/templates/cps-kafka-user.yaml
+++ b/kubernetes/cps/templates/cps-kafka-user.yaml
@@ -54,4 +54,12 @@ spec:
type: topic
name: {{ .Values.config.ncmpAsyncM2MTopic.name }}
operation: All
+ - resource:
+ type: group
+ name: {{ .Values.config.dmiCmEventsTopic.consumer.groupId }}
+ operation: All
+ - resource:
+ type: topic
+ name: {{ .Values.config.dmiCmEventsTopic.name }}
+ operation: All
{{- end }} \ No newline at end of file