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-webui.yaml b/5g-control-plane/templates/deployment-webui.yaml
index d3a2527..c71becb 100644
--- a/5g-control-plane/templates/deployment-webui.yaml
+++ b/5g-control-plane/templates/deployment-webui.yaml
@@ -61,35 +61,22 @@
{{- end }}
stdin: true
tty: true
- command: ["/free5gc/script/webui-run.sh", "/sdcore/script/webui-run.sh"]
+ command: ["/free5gc/script/webui-run.sh"]
{{- if .Values.resources.enabled }}
resources:
{{ toYaml .Values.resources.webui | indent 10 }}
{{- end }}
volumeMounts:
- - name: run-script-tmp
+ - name: run-script
mountPath: /free5gc/script/webui-run.sh
subPath: webui-run.sh
- - name: nf-config-tmp
- mountPath: /free5gc/config
- - name: run-script
- mountPath: /sdcore/script/webui-run.sh
- subPath: webui-run.sh
- name: nf-config
- mountPath: /sdcore/config
+ mountPath: /free5gc/config
{{- if .Values.config.coreDump.enabled }}
- name: coredump
mountPath: /tmp/coredump
{{- end }}
volumes:
- - name: run-script-tmp
- configMap:
- name: webui
- defaultMode: 493
- - name: nf-config-tmp
- configMap:
- name: webui
- defaultMode: 493
- name: run-script
configMap:
name: webui