[VOL-3091] configurable kafka topic
Make core-topic and adapter topics configurable in voltha-helm-charts
This is required to run multiple voltha stacks in a k8s deployment.
Also, read the kv_store_data_prefix via environment variable.
https://gerrit.opencord.org/#/c/19001/
Change-Id: I8fabda3ce70f1379f735796e6711f4282e57008a
diff --git a/voltha-adapter-openolt/values.yaml b/voltha-adapter-openolt/values.yaml
index 7c8fce3..4090902 100644
--- a/voltha-adapter-openolt/values.yaml
+++ b/voltha-adapter-openolt/values.yaml
@@ -20,6 +20,14 @@
image_tag: ~
image_org: "voltha/"
image_pullPolicy: "Always"
+ topics:
+ core_topic: "rwcore"
+ adapter_open_olt_topic: "openolt"
+
+ # Define prefix path for etcd
+ # If you're running multiple voltha stacks the this value
+ # should be unique across the stacks.
+ kv_store_data_prefix: "service/voltha"
# Define connectivity to required services
services:
@@ -42,7 +50,8 @@
# Define the recplica count for everything
replicas:
- adapter_open_olt: 1
+ current_replica: 1
+ total_replica: 1
adapter_open_olt:
log_level: '{{ .Values.defaults.log_level }}'