aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/cps/components/ncmp-dmi-plugin/resources
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2023-04-21 15:24:10 +0100
committermpriyank <priyank.maheshwari@est.tech>2023-04-24 16:30:39 +0100
commit6fc407db4f8cf62fcf6ce2fba332cdb9a8762bf2 (patch)
treec555c744a3a99a9c6bba1b2f9b6ffc8d778b3ead /kubernetes/cps/components/ncmp-dmi-plugin/resources
parenta336bf408d5821aae5d19fcd27bd54dd7246b82d (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/resources')
-rw-r--r--kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml b/kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml
index 7d764bf589..428a553de6 100644
--- a/kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml
+++ b/kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml
@@ -57,6 +57,11 @@ spring.kafka.security.protocol: SASL_PLAINTEXT
spring.kafka.properties.sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
spring.kafka.properties.sasl.jaas.config: ${SASL_JAAS_CONFIG}
+# Kafka Topics
+{{- if .Values.topics.config }}
+{{ toYaml .Values.topics.config | nindent 2 }}
+{{- end }}
+
{{- if .Values.config.additional }}
{{ toYaml .Values.config.additional | nindent 2 }}
{{- end }}