Revert "Dynamic Config Helm Changes"
This reverts commit 4ee3e3d1db290fb1c646bf49a4ffe04c0b74494b.
Reason for revert: need more review
Change-Id: Ie76d1771394ba2e582ef047c15ce3464d82b9e8c
diff --git a/omec/5g-control-plane/templates/deployment-nssf.yaml b/omec/5g-control-plane/templates/deployment-nssf.yaml
index 968ea89..f404f1a 100644
--- a/omec/5g-control-plane/templates/deployment-nssf.yaml
+++ b/omec/5g-control-plane/templates/deployment-nssf.yaml
@@ -65,10 +65,14 @@
- name: run-script
mountPath: /free5gc/script/nssf-run.sh
subPath: nssf-run.sh
- - name: common-config
- mountPath: /free5gc/common
- - name: nf-config
+ - name: config-dir
mountPath: /free5gc/config
+ - name: common-config
+ mountPath: /tmp/config/free5GC.conf
+ subPath: free5GC.conf
+ - name: nf-config
+ mountPath: /tmp/config/nssfcfg.conf
+ subPath: nssfcfg.conf
{{- if .Values.config.coreDump.enabled }}
- name: coredump
mountPath: /tmp/coredump
@@ -86,6 +90,8 @@
configMap:
name: nssf
defaultMode: 493
+ - name: config-dir
+ emptyDir: {}
{{- if .Values.config.coreDump.enabled }}
- name: host-rootfs
hostPath: