[VOL-3798] : voltha helm chart change to enable/disable metrics for openonu-go
Change-Id: If03b10b07c2afa687415889aed493d973854175a
diff --git a/voltha-adapter-openonu/Chart.yaml b/voltha-adapter-openonu/Chart.yaml
index b4ce283..cd423f8 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.7.3"
+version: "2.7.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 500db47..14519f3 100644
--- a/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
+++ b/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
@@ -99,6 +99,7 @@
- "--trace_enabled={{ .Values.global.tracing.enabled }}"
- "--trace_agent_address={{ tpl .Values.services.tracing_agent.address . }}"
- "--allowed_onu_vendors={{ template "allowed_onu_vendors" . }}"
+ - "--metrics_enabled={{ .Values.global.metrics.enabled }}"
{{- if .Values.securityContext.enabled }}
securityContext:
allowPrivilegeEscalation: false
diff --git a/voltha-adapter-openonu/values.yaml b/voltha-adapter-openonu/values.yaml
index f9f105a..7690a9e 100644
--- a/voltha-adapter-openonu/values.yaml
+++ b/voltha-adapter-openonu/values.yaml
@@ -38,6 +38,9 @@
# Configure Tracing
tracing:
enabled: true
+ # Configure Peformance Metrics
+ metrics:
+ enabled: true
# Default security context under which the containers run
securityContext:
@@ -107,5 +110,5 @@
adapter_open_onu_go:
registry: '{{ .Values.global.image_registry }}'
repository: '{{ .Values.global.image_org }}voltha-openonu-adapter-go'
- tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}1.1.0{{- end }}{{- else }}1.1.0{{- end }}'
+ tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}1.1.1{{- end }}{{- else }}1.1.1{{- end }}'
pullPolicy: '{{ .Values.global.image_pullPolicy }}'