Revert "checking sdcore or free5gc directory exist in a image"
This reverts commit dd579db39550a0d01e5e69429bbe8dc5235ad25e.
Reason for revert: <CI is not picking new helm charts so no use of doing this helm chart change>
Change-Id: Ie5572cc2231795ad1b2f576d699a573b74e012a4
diff --git a/5g-control-plane/templates/deployment-smf.yaml b/5g-control-plane/templates/deployment-smf.yaml
index d707658..296bc50 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", "/sdcore/script/smf-run.sh"]
+ command: ["/free5gc/script/smf-run.sh"]
env:
- name: GRPC_GO_LOG_VERBOSITY_LEVEL
value: {{ .Values.config.grpc.golog_verbosity | quote }}
@@ -76,33 +76,18 @@
{{ toYaml .Values.resources.smf | indent 10 }}
{{- end }}
volumeMounts:
- - name: run-script-tmp
+ - name: run-script
mountPath: /free5gc/script/smf-run.sh
subPath: smf-run.sh
- - name: nf-config-tmp
+ - name: nf-config
mountPath: /free5gc/uerouting
- - name: nf-config-tmp
+ - name: nf-config
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