VOL-2044 - enable default tag for simulated adapters
Change-Id: Ia0b2cf86381a70fcec7d94faa52bc4366ba641db
diff --git a/voltha-adapter-simulated/Chart.yaml b/voltha-adapter-simulated/Chart.yaml
index 41cd3c2..42c1113 100644
--- a/voltha-adapter-simulated/Chart.yaml
+++ b/voltha-adapter-simulated/Chart.yaml
@@ -17,7 +17,7 @@
description: A Helm chart for Voltha Simulated Adaptyer based on K8S resources in Voltha project
icon: https://guide.opencord.org/logos/cord.svg
-version: 2.1.3
+version: 2.1.4
# appVersion is 2 because this chart contains multiple 2.x images that may have
# different individual image versions.
diff --git a/voltha-adapter-simulated/values.yaml b/voltha-adapter-simulated/values.yaml
index 3901a11..6098a7d 100644
--- a/voltha-adapter-simulated/values.yaml
+++ b/voltha-adapter-simulated/values.yaml
@@ -18,6 +18,7 @@
image_registry: ""
image_org: "voltha/"
image_pullPolicy: "Always"
+ image_tag: ~
# Define connectivity to required services
services:
@@ -45,11 +46,11 @@
adapter_simulated_olt:
registry: '{{ .Values.defaults.image_registry }}'
repository: '{{ .Values.defaults.image_org }}voltha-adapter-simulated-olt'
- tag: '2.2.0'
+ tag: '{{ if hasKey .Values.defaults "image_tag" }}{{ .Values.defaults.image_tag }}{{ else }}2.2.0{{ end }}'
pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
adapter_simulated_onu:
registry: '{{ .Values.defaults.image_registry }}'
repository: '{{ .Values.defaults.image_org }}voltha-adapter-simulated-onu'
- tag: '2.2.0'
+ tag: '{{ if hasKey .Values.defaults "image_tag" }}{{ .Values.defaults.image_tag }}{{ else }}2.2.0{{ end }}'
pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'