Update gnbsim config path & image tag
Change-Id: Ic313d4ea8538fb501438eeee34cda6fe582a75bd
diff --git a/5g-ran-sim/Chart.yaml b/5g-ran-sim/Chart.yaml
index 19fa491..4b0ac0b 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.1
+version: 0.4.2
diff --git a/5g-ran-sim/templates/bin/_gnbsim-run.sh.tpl b/5g-ran-sim/templates/bin/_gnbsim-run.sh.tpl
index 42e47bc..99d41cf 100644
--- a/5g-ran-sim/templates/bin/_gnbsim-run.sh.tpl
+++ b/5g-ran-sim/templates/bin/_gnbsim-run.sh.tpl
@@ -7,11 +7,10 @@
set -xe
{{- if .Values.config.coreDump.enabled }}
-cp /free5gc/amf/amf /tmp/coredump/
+cp /gnbsim/bin/gnbsim /tmp/coredump/
{{- end }}
-#cat config files
-cd /free5gc
+cd /gnbsim
cat ./config/gnb.conf
cat /etc/hosts
ip route add 192.168.252.0/24 via 192.168.251.1
diff --git a/5g-ran-sim/templates/statefulset-gnbsim.yaml b/5g-ran-sim/templates/statefulset-gnbsim.yaml
index d62293b..9655f25 100644
--- a/5g-ran-sim/templates/statefulset-gnbsim.yaml
+++ b/5g-ran-sim/templates/statefulset-gnbsim.yaml
@@ -84,7 +84,7 @@
mountPath: /opt/cp/scripts/gnbsim-run.sh
subPath: gnbsim-run.sh
- name: cp-config
- mountPath: /free5gc/config
+ mountPath: /gnbsim/config
{{- if .Values.config.coreDump.enabled }}
- name: coredump
mountPath: /tmp/coredump
diff --git a/5g-ran-sim/values.yaml b/5g-ran-sim/values.yaml
index bf39adf..ec10cce 100644
--- a/5g-ran-sim/values.yaml
+++ b/5g-ran-sim/values.yaml
@@ -5,7 +5,7 @@
images:
tags:
init: docker.io/omecproject/pod-init:1.0.0
- gnbsim: registry.aetherproject.org/omecproject/5gc-gnbsim:dev-new-gnbsim-025ae2b
+ gnbsim: registry.aetherproject.org/omecproject/5gc-gnbsim:dev-new-gnbsim-60a5a0d
pullPolicy: IfNotPresent
# Secrets must be manually created in the namespace.
pullSecrets: