[VOL-5359] Add redis option as KVStore
Change-Id: Iacf583f53a2b00e9f0afd49c51ffb6be616e9b9b
Signed-off-by: abhay <abhayk@radisys.com>
diff --git a/voltha-adapter-openonu/Chart.yaml b/voltha-adapter-openonu/Chart.yaml
index ef90c99..3162364 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.12.4"
+version: "2.12.5"
description: "A Helm chart for Voltha OpenONU Adapter"
keywords:
- "onf"
@@ -32,6 +32,6 @@
url: "https://www.opennetworking.org"
# appVersion refers to release version of voltha-openonu-adapter-go
-appVersion: "2.12.3"
+appVersion: "2.12.7"
# [EOF]
diff --git a/voltha-adapter-openonu/templates/openonu-go-deploy.yaml b/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
index c42f9d8..ee837d2 100644
--- a/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
+++ b/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
@@ -86,7 +86,8 @@
- "--adapter_endpoint={{ tpl .Values.adapter_open_onu.endpoints.address . }}.{{ .Release.Namespace }}.svc:{{ print .Values.adapter_open_onu.endpoints.port }}"
- "--kafka_cluster_address={{ tpl .Values.services.kafka.cluster.address . }}"
- "--event_topic={{ .Values.adapter_open_onu.topics.event_topic }}"
- - "--kv_store_address={{ tpl .Values.services.etcd.address . }}"
+ - "--kv_store_type={{ tpl .Values.services.kvstore.type . }}"
+ - "--kv_store_address={{ tpl .Values.services.kvstore.address . }}"
- "--kv_store_request_timeout={{ tpl .Values.adapter_open_onu.kv_store_timeout . }}"
- "--log_level={{ $log_level }}"
- "--probe_port=8080"
diff --git a/voltha-adapter-openonu/values.yaml b/voltha-adapter-openonu/values.yaml
index 12e2a78..08eb04e 100644
--- a/voltha-adapter-openonu/values.yaml
+++ b/voltha-adapter-openonu/values.yaml
@@ -86,7 +86,9 @@
address: kafka:9092
# Define connectivity to etcd
- etcd:
+ kvstore:
+ # type: etcd, redis or redis-sentinel
+ type: etcd
address: etcd:2379
# Define Tracing Agent connection details