diff options
author | mpriyank <priyank.maheshwari@est.tech> | 2023-04-21 15:24:10 +0100 |
---|---|---|
committer | mpriyank <priyank.maheshwari@est.tech> | 2023-04-24 16:30:39 +0100 |
commit | 6fc407db4f8cf62fcf6ce2fba332cdb9a8762bf2 (patch) | |
tree | c555c744a3a99a9c6bba1b2f9b6ffc8d778b3ead /kubernetes/cps/components/ncmp-dmi-plugin/values.yaml | |
parent | a336bf408d5821aae5d19fcd27bd54dd7246b82d (diff) |
[CPS] Parameterize topics in application
- parameterize the topics for both cps-ncmp and ncmp-dmi-plugin code
- Also copy the globally defined topics to the more specific place.
- In the next patch will remove the global topics and users info.
Issue-ID: CPS-1612
Change-Id: Ibf38dd96857ed50a101279a11ded915f86be3d65
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'kubernetes/cps/components/ncmp-dmi-plugin/values.yaml')
-rw-r--r-- | kubernetes/cps/components/ncmp-dmi-plugin/values.yaml | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml b/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml index 59a64905d1..fcc4808098 100644 --- a/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml +++ b/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml @@ -178,19 +178,36 @@ updateStrategy: maxUnavailable: 0 maxSurge: 1 -# Strimzi KafkaUser config +# Strimzi KafkaUser and Topic config +kafkaTopic: + - name: &ncmpDmiCmAvcSubscriptionNcmpDmiPluginTopic ncmp-dmi-cm-avc-subscription-ncmp-dmi-plugin + retentionMs: 7200000 + segmentBytes: 1073741824 + - name: &dmiNcmpCmAvcSubscriptionTopic dmi-ncmp-cm-avc-subscription + retentionMs: 7200000 + segmentBytes: 1073741824 + - name: &ncmpAsyncM2MTopic ncmp-async-m2m + retentionMs: 7200000 + segmentBytes: 1073741824 + kafkaUser: authenticationType: scram-sha-512 acls: - name: ncmp-dmi-plugin-group type: group operations: [Read] - - name: ncmp-dmi-cm-avc-subscription-ncmp-dmi-plugin + - name: *ncmpDmiCmAvcSubscriptionNcmpDmiPluginTopic type: topic operations: [Read] - - name: dmi-ncmp-cm-avc-subscription + - name: *dmiNcmpCmAvcSubscriptionTopic type: topic operations: [Write] - - name: ncmp-async-m2m + - name: *ncmpAsyncM2MTopic type: topic operations: [Write] + +topics: + config: + app.ncmp.async.topic: *ncmpAsyncM2MTopic + app.dmi.avc.subscription-topic: *ncmpDmiCmAvcSubscriptionNcmpDmiPluginTopic + app.dmi.avc.subscription-response-topic: *dmiNcmpCmAvcSubscriptionTopic |