From 4743064f4951631c76732bafc120b05217199863 Mon Sep 17 00:00:00 2001 From: mpriyank Date: Thu, 23 Feb 2023 10:29:02 +0000 Subject: [CPS] Ncmp dmi plugin kafka parameter ov - Explicitly providing kafka parameters in the application-helm file to be overridden later from the charts - https://jira.onap.org/browse/CPS-1088 - adding missed OOM chart update coz of this task - temporarily enabling the DEBUG level logs Issue-ID: CPS-1510 Change-Id: I5a82771042f9a2f700172549ac561bc73ff35906 Signed-off-by: mpriyank --- kubernetes/cps/components/cps-core/values.yaml | 2 +- .../components/ncmp-dmi-plugin/resources/config/application-helm.yml | 5 +++++ kubernetes/cps/components/ncmp-dmi-plugin/values.yaml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'kubernetes/cps') diff --git a/kubernetes/cps/components/cps-core/values.yaml b/kubernetes/cps/components/cps-core/values.yaml index a016574dc5..7bdb79d8f9 100644 --- a/kubernetes/cps/components/cps-core/values.yaml +++ b/kubernetes/cps/components/cps-core/values.yaml @@ -182,7 +182,7 @@ config: # spring.config.min-size: 10 additional: - notification.data-updated.enabled: true + notification.enabled: true notification.data-updated.topic: &dataUpdatedTopic cps.data-updated-events notification.data-updated.filters.enabled-dataspaces: "" notification.async.enabled: false 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 8e71114c8c..2a31c73303 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 @@ -49,6 +49,11 @@ logging: onap: cps: {{ .Values.logging.cps }} +spring.kafka.bootstrap-servers: {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092 +spring.kafka.security.protocol: SASL_PLAINTEXT +spring.kafka.properties.sasl.mechanism: SCRAM-SHA-512 +spring.kafka.properties.sasl.jaas.config: ${SASL_JAAS_CONFIG} + {{- if .Values.config.additional }} {{ toYaml .Values.config.additional | nindent 2 }} diff --git a/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml b/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml index c35519b5fc..44f11f5b9c 100644 --- a/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml +++ b/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml @@ -164,7 +164,7 @@ config: # spring.config.min-size: 10 logging: - level: INFO + level: DEBUG cps: DEBUG path: /tmp -- cgit 1.2.3-korg