checking sdcore or free5gc directory exist in a image
tested these changes on aiab setup with all sdcore images/free5gc images.
All pods are up and running, registration call flow is fine with gnbsim
Change-Id: I8a0fdab559cf3cb524cf159ae1d7b201acfd05f3
diff --git a/5g-control-plane/templates/deployment-smf.yaml b/5g-control-plane/templates/deployment-smf.yaml
index 296bc50..d707658 100644
--- a/5g-control-plane/templates/deployment-smf.yaml
+++ b/5g-control-plane/templates/deployment-smf.yaml
@@ -53,7 +53,7 @@
{{- end }}
stdin: true
tty: true
- command: ["/free5gc/script/smf-run.sh"]
+ command: ["/free5gc/script/smf-run.sh", "/sdcore/script/smf-run.sh"]
env:
- name: GRPC_GO_LOG_VERBOSITY_LEVEL
value: {{ .Values.config.grpc.golog_verbosity | quote }}
@@ -76,18 +76,33 @@
{{ toYaml .Values.resources.smf | indent 10 }}
{{- end }}
volumeMounts:
- - name: run-script
+ - name: run-script-tmp
mountPath: /free5gc/script/smf-run.sh
subPath: smf-run.sh
- - name: nf-config
+ - name: nf-config-tmp
mountPath: /free5gc/uerouting
- - name: nf-config
+ - name: nf-config-tmp
mountPath: /free5gc/config
+ - name: run-script
+ mountPath: /sdcore/script/smf-run.sh
+ subPath: smf-run.sh
+ - name: nf-config
+ mountPath: /sdcore/uerouting
+ - name: nf-config
+ mountPath: /sdcore/config
{{- if .Values.config.coreDump.enabled }}
- name: coredump
mountPath: /tmp/coredump
{{- end }}
volumes:
+ - name: run-script-tmp
+ configMap:
+ name: smf
+ defaultMode: 493
+ - name: nf-config-tmp
+ configMap:
+ name: smf
+ defaultMode: 493
- name: run-script
configMap:
name: smf