[CDS-SDC-DIST] Upgrade cds to kafka native
[oom.git] / kubernetes / cds / components / cds-sdc-listener / values.yaml
index 9ceeec8..3d13802 100644 (file)
@@ -1,4 +1,5 @@
 # Copyright (c) 2019 Bell Canada
+# Modification Copyright © 2022 Nordix Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -25,20 +26,40 @@ global:
   persistence:
     mountPath: /dockerdata-nfs
 
+  cdsSdcListenerKafkaUser: cds-sdc-list-user
+
 #################################################################
 # Application configuration defaults.
 #################################################################
 # application image
-image: onap/ccsdk-sdclistener:1.4.1
+image: onap/ccsdk-sdclistener:1.5.0
 name: sdc-listener
 pullPolicy: Always
 
 # flag to enable debugging - application support required
 debugEnabled: false
 
+secrets:
+  - uid: cds-sdc-kafka-secret
+    externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
+    type: genericKV
+    envs:
+      - name: sasl.jaas.config
+        value: '{{ .Values.config.someConfig }}'
+        policy: generate
+
 # application configuration
 config:
   appConfigDir: /opt/app/onap/config
+  someConfig: blah
+  kafka:
+    securityProtocol: SASL_PLAINTEXT
+    saslMechanism: SCRAM-SHA-512
+    authType: simple
+    sdcTopic:
+      pattern: SDC-DIST
+      consumerGroup: cds
+      clientId: cds-sdc-listener
 
 # default number of instances
 replicaCount: 1