[VOL-3630] Passing KV_STORE_DATAPATH_PREFIX the container
Change-Id: I3185fd1cd5d00300568a958ba4bebbedc21b9ea6
diff --git a/voltha-adapter-openonu/Chart.yaml b/voltha-adapter-openonu/Chart.yaml
index cf1820f..7d88f49 100644
--- a/voltha-adapter-openonu/Chart.yaml
+++ b/voltha-adapter-openonu/Chart.yaml
@@ -14,7 +14,7 @@
---
apiVersion: "v1"
name: "voltha-adapter-openonu"
-version: "2.6.3"
+version: "2.6.4"
description: "A Helm chart for Voltha OpenONU Adapter"
keywords:
- "onf"
diff --git a/voltha-adapter-openonu/templates/openonu-go-deploy.yaml b/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
index 09c8375..196b88c 100644
--- a/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
+++ b/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
@@ -76,6 +76,8 @@
valueFrom:
fieldRef:
fieldPath: metadata.labels['app.kubernetes.io/name']
+ - name: KV_STORE_DATAPATH_PREFIX
+ value: {{ .Values.defaults.kv_store_data_prefix }}
args:
- "/app/openonu"
- "--banner=true"
diff --git a/voltha-adapter-openonu/values.yaml b/voltha-adapter-openonu/values.yaml
index 6b264d5..e3baff1 100644
--- a/voltha-adapter-openonu/values.yaml
+++ b/voltha-adapter-openonu/values.yaml
@@ -33,6 +33,11 @@
adapter_open_onu_topic: "brcm_openomci_onu"
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"
+
# Default security context under which the containers run
securityContext:
enabled: true