[VOL-3142] Updated voltha and openolt adapter charts to add tracing related config parameters
Change-Id: Icd9decb424a0975d3de6d387f1fc5938340561d0
diff --git a/voltha-adapter-openolt/Chart.yaml b/voltha-adapter-openolt/Chart.yaml
index da69f6c..8f99f5c 100644
--- a/voltha-adapter-openolt/Chart.yaml
+++ b/voltha-adapter-openolt/Chart.yaml
@@ -14,7 +14,7 @@
---
apiVersion: "v1"
name: "voltha-adapter-openolt"
-version: "2.5.7"
+version: "2.6.0"
description: "A Helm chart for Voltha OpenOLT Adapter"
keywords:
- "onf"
@@ -33,4 +33,4 @@
# appVersion refers to multiple components with potentially different
# container image versions.
-appVersion: "2.4"
+appVersion: "2.5"
diff --git a/voltha-adapter-openolt/templates/openolt-deploy.yaml b/voltha-adapter-openolt/templates/openolt-deploy.yaml
index 99007b0..1ddf17f 100644
--- a/voltha-adapter-openolt/templates/openolt-deploy.yaml
+++ b/voltha-adapter-openolt/templates/openolt-deploy.yaml
@@ -98,6 +98,9 @@
- "--current_replica={{ .Values.replicas.current_replica }}"
- "--total_replica={{ .Values.replicas.total_replica }}"
- "--probe_address=:8080"
+ - "--trace_enabled={{ .Values.tracing.enabled }}"
+ - "--trace_agent_address={{ .Values.services.tracing_agent.address }}"
+ - "--log_correlation_enabled={{ .Values.log_correlation.enabled }}"
{{- if .Values.securityContext.enabled }}
securityContext:
allowPrivilegeEscalation: false
diff --git a/voltha-adapter-openolt/values.yaml b/voltha-adapter-openolt/values.yaml
index cc953f9..788c216 100644
--- a/voltha-adapter-openolt/values.yaml
+++ b/voltha-adapter-openolt/values.yaml
@@ -56,10 +56,22 @@
etcd:
address: etcd:2379
+ # Define Tracing Agent connection details
+ tracing_agent:
+ address: jaeger-agent:6831
+
# Expose the golang pprof webserver, if enabled
profiler:
enabled: false
+# Configure Log Correlation
+log_correlation:
+ enabled: true
+
+# Configure Tracing
+tracing:
+ enabled: true
+
# Define the recplica count for everything
replicas:
current_replica: 1