Configurable repository for container images.
Configurable repository for container images. By default
pull the images from docker hub
Change-Id: Iabcf97318be11c20e6fcb7b7766c9325512bb867
diff --git a/5g-ran-sim/Chart.yaml b/5g-ran-sim/Chart.yaml
index f8b2a6b..11d1aaa 100644
--- a/5g-ran-sim/Chart.yaml
+++ b/5g-ran-sim/Chart.yaml
@@ -8,4 +8,4 @@
name: 5g-ran-sim
icon: https://guide.opencord.org/logos/cord.svg
-version: 0.4.8
+version: 0.4.9
diff --git a/5g-ran-sim/templates/statefulset-gnbsim.yaml b/5g-ran-sim/templates/statefulset-gnbsim.yaml
index c4fc8a7..7c2827d 100644
--- a/5g-ran-sim/templates/statefulset-gnbsim.yaml
+++ b/5g-ran-sim/templates/statefulset-gnbsim.yaml
@@ -48,7 +48,7 @@
initContainers:
- name: wait-amf-module
- image: {{ .Values.images.tags.init | quote }}
+ image: {{ .Values.images.repository }}{{ .Values.images.tags.init }}
imagePullPolicy: {{ .Values.images.pullPolicy }}
command: ['sh', '-c', 'until nslookup amf; do echo waiting for nrf; sleep 4; done;']
{{- if .Values.config.coreDump.enabled }}
@@ -56,7 +56,7 @@
{{- end }}
containers:
- name: gnbsim
- image: {{ .Values.images.tags.gnbsim }}
+ image: {{ .Values.images.repository }}{{ .Values.images.tags.gnbsim }}
imagePullPolicy: {{ .Values.images.pullPolicy }}
securityContext:
privileged: true
diff --git a/5g-ran-sim/values.yaml b/5g-ran-sim/values.yaml
index 6ce0446..8bf1721 100644
--- a/5g-ran-sim/values.yaml
+++ b/5g-ran-sim/values.yaml
@@ -3,13 +3,11 @@
# SPDX-License-Identifier: Apache-2.0
images:
+ repository: "" #default docker hub
tags:
- init: docker.io/omecproject/pod-init:1.0.0
- gnbsim: registry.aetherproject.org/omecproject/5gc-gnbsim:main-a984342
+ init: omecproject/pod-init:1.0.0
+ gnbsim: omecproject/5gc-gnbsim:main-a984342
pullPolicy: IfNotPresent
- # Secrets must be manually created in the namespace.
- pullSecrets:
- - name: aether.registry
nodeSelectors:
enabled: false