[VOL-4025] Exposing event_topic in rw-core, openolt and openonu adapter charts
[VOL-4135] Exposing device-refresh-interval in ofAgent and defaulting to
15 seconds
Change-Id: I071944972a8deb3ad16fc9035538946b83c9fb30
diff --git a/voltha/Chart.yaml b/voltha/Chart.yaml
index 23eb305..b3a9a71 100644
--- a/voltha/Chart.yaml
+++ b/voltha/Chart.yaml
@@ -14,7 +14,7 @@
---
apiVersion: "v1"
name: "voltha"
-version: "2.9.3"
+version: "2.9.4"
description: "A Helm chart for Voltha based on K8S resources in Voltha project"
keywords:
- "onf"
diff --git a/voltha/templates/core-deploy.yaml b/voltha/templates/core-deploy.yaml
index ba729f5..55d36c5 100644
--- a/voltha/templates/core-deploy.yaml
+++ b/voltha/templates/core-deploy.yaml
@@ -93,6 +93,7 @@
- "--kafka_adapter_address={{ tpl .Values.services.kafka.adapter.address . }}"
- "--kafka_cluster_address={{ tpl .Values.services.kafka.cluster.address . }}"
- "--rw_core_topic={{ tpl .Values.rw_core.topics.core_topic . }}"
+ - "--event_topic={{ .Values.rw_core.topics.event_topic }}"
- "--core_timeout={{ tpl .Values.rw_core.core_timeout . }}"
- "--timeout_long_request={{ tpl .Values.rw_core.timeout_long_request . }}"
- "--timeout_request={{ tpl .Values.rw_core.timeout_request . }}"
diff --git a/voltha/templates/ofagent-deploy.yaml b/voltha/templates/ofagent-deploy.yaml
index 87f76f3..b091224 100644
--- a/voltha/templates/ofagent-deploy.yaml
+++ b/voltha/templates/ofagent-deploy.yaml
@@ -89,6 +89,7 @@
- "--kv_store_type=etcd"
- "--kv_store_request_timeout=60s"
- "--log_level={{ $log_level }}"
+ - "--device-refresh-interval={{ .Values.ofagent.device_refresh_interval }}"
- "--probe=:8080"
- "--trace_enabled={{ .Values.global.tracing.enabled }}"
- "--trace_agent_address={{ tpl .Values.services.tracing_agent.address . }}"
diff --git a/voltha/values.yaml b/voltha/values.yaml
index c88888e..b185c16 100644
--- a/voltha/values.yaml
+++ b/voltha/values.yaml
@@ -84,9 +84,11 @@
stack_id: "{{ .Values.global.stack_name }}"
topics:
core_topic: "{{ .Values.global.stack_name }}_rwcore"
+ event_topic: "voltha.events"
ofagent:
log_level: '{{ .Values.global.log_level }}'
+ device_refresh_interval: '15s'
# Define Docker images to be used
images: