Configurable repository for container images.
Configurable repository for container images. By default
pull the images from docker hub
Change-Id: Iabcf97318be11c20e6fcb7b7766c9325512bb867
diff --git a/omec-sub-provision/templates/deployment-simapp.yaml b/omec-sub-provision/templates/deployment-simapp.yaml
index 62c4547..2ed0840 100644
--- a/omec-sub-provision/templates/deployment-simapp.yaml
+++ b/omec-sub-provision/templates/deployment-simapp.yaml
@@ -37,7 +37,7 @@
{{- end }}
initContainers:
- name: wait-simapp-module2
- image: {{ .Values.images.tags.init | quote }}
+ image: {{ .Values.images.repository }}{{ .Values.images.tags.init }}
imagePullPolicy: {{ .Values.images.pullPolicy }}
command: ['sh', '-c', 'until nslookup simapp; do echo waiting for simapp; sleep 4; done;']
{{- if .Values.config.coreDump.enabled }}
@@ -45,7 +45,7 @@
{{- end }}
containers:
- name: simapp
- image: {{ .Values.images.tags.simapp }}
+ image: {{ .Values.images.repository }}{{ .Values.images.tags.simapp }}
imagePullPolicy: {{ .Values.images.pullPolicy }}
{{- if .Values.config.coreDump.enabled }}
securityContext: