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-pcf.yaml b/5g-control-plane/templates/deployment-pcf.yaml
index 6829ffe..cba34b7 100644
--- a/5g-control-plane/templates/deployment-pcf.yaml
+++ b/5g-control-plane/templates/deployment-pcf.yaml
@@ -51,7 +51,7 @@
{{- end }}
stdin: true
tty: true
- command: ["/free5gc/script/pcf-run.sh"]
+ command: ["/free5gc/script/pcf-run.sh", "/sdcore/script/pcf-run.sh"]
env:
- name: GRPC_GO_LOG_VERBOSITY_LEVEL
value: {{ .Values.config.grpc.golog_verbosity | quote }}
@@ -74,16 +74,29 @@
{{ toYaml .Values.resources.pcf | indent 10 }}
{{- end }}
volumeMounts:
- - name: run-script
+ - name: run-script-tmp
mountPath: /free5gc/script/pcf-run.sh
subPath: pcf-run.sh
- - name: nf-config
+ - name: nf-config-tmp
mountPath: /free5gc/config
+ - name: run-script
+ mountPath: /sdcore/script/pcf-run.sh
+ subPath: pcf-run.sh
+ - name: nf-config
+ mountPath: /sdcore/config
{{- if .Values.config.coreDump.enabled }}
- name: coredump
mountPath: /tmp/coredump
{{- end }}
volumes:
+ - name: run-script-tmp
+ configMap:
+ name: pcf
+ defaultMode: 493
+ - name: nf-config-tmp
+ configMap:
+ name: pcf
+ defaultMode: 493
- name: run-script
configMap:
name: pcf