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/Chart.yaml b/omec-sub-provision/Chart.yaml
index 85b826a..3f82420 100644
--- a/omec-sub-provision/Chart.yaml
+++ b/omec-sub-provision/Chart.yaml
@@ -8,4 +8,4 @@
name: omec-sub-provision
icon: https://guide.opencord.org/logos/cord.svg
-version: 0.4.4
+version: 0.4.5
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:
diff --git a/omec-sub-provision/values.yaml b/omec-sub-provision/values.yaml
index 7755f6a..268e234 100644
--- a/omec-sub-provision/values.yaml
+++ b/omec-sub-provision/values.yaml
@@ -3,14 +3,11 @@
# SPDX-License-Identifier: Apache-2.0
images:
+ repository: "" #default docker hub
tags:
- init: docker.io/omecproject/pod-init:1.0.0
- simapp: "registry.aetherproject.org/omecproject/simapp:main-2a3d85f"
+ init: omecproject/pod-init:1.0.0
+ simapp: omecproject/simapp:main-2a3d85f
pullPolicy: IfNotPresent
- # Optionally specify an array of imagePullSecrets.
- # Secrets must be manually created in the namespace.
- pullSecrets:
- - name: aether.registry
resources:
enabled: false