[CPS] Add new Topic for CPS-NCMP AVC Events 86/132686/7
authormpriyank <priyank.maheshwari@est.tech>
Fri, 13 Jan 2023 10:05:46 +0000 (10:05 +0000)
committermpriyank <priyank.maheshwari@est.tech>
Fri, 13 Jan 2023 11:37:45 +0000 (11:37 +0000)
- 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>
docs/sections/release_notes/release-notes-honolulu.rst
kubernetes/cps/templates/cps-kafka-topic.yaml
kubernetes/cps/templates/cps-kafka-user.yaml
kubernetes/cps/values.yaml

index 3a7891a..832ec58 100644 (file)
@@ -128,7 +128,7 @@ Known Vulnerabilities
 Workarounds
 -----------
 
-- `<https://github.com/bitnami/bitnami-docker-mariadb-galera/issues/35>`_
+- `<https://github.com/bitnami/charts/issues>`_
   Workaround is to generate a password with "short" strength or pregenerate
   passwords without single quote in it. Default deployment is using "short"
   password generation for mariadb.
index b4ecfcd..33613bc 100644 (file)
@@ -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
index fafc8c3..229e5dc 100644 (file)
@@ -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
index f3e6198..97addae 100755 (executable)
@@ -65,6 +65,11 @@ config:
     retentionMs: 600000
     consumer:
       groupId: ncmp-group
+  dmiCmEventsTopic:
+    name: dmi-cm-events
+    retentionMs: 7200000
+    consumer:
+      groupId: ncmp-group
 
 # Enable all CPS components by default
 cps-core: