Customizing onos-config-loader image via values.yaml in voltha-infra
Using onos-classic 0.1.15 to correctly select nodePorts pods
Change-Id: I5fe3e74a07541eca9337c5002e4d9be614e98356
diff --git a/voltha-infra/values.yaml b/voltha-infra/values.yaml
index 576507b..d6156cc 100644
--- a/voltha-infra/values.yaml
+++ b/voltha-infra/values.yaml
@@ -15,6 +15,19 @@
# Default values for voltha-infra.
# This is a YAML-formatted file.
+global:
+ image_registry: ''
+ image_org: "voltha/"
+ image_tag: ~
+ image_pullPolicy: "Always"
+
+images:
+ onos_config_loader:
+ registry: '{{ .Values.global.image_registry }}'
+ repository: '{{ .Values.global.image_org }}voltha-ci-tools'
+ tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}2.3.2-onos-config-loader{{- end }}{{- else }}2.3.2-onos-config-loader{{- end }}'
+ pullPolicy: '{{ .Values.global.image_pullPolicy }}'
+
# components config
onos-classic:
enabled: true