networkslice: Added free5gc helm charts.
[icn.git] / demo / networkslice / free5gc / helm / f5gc-nrf / templates / configmap.yaml
1 apiVersion: v1
2 kind: ConfigMap
3 metadata:
4   name: f5gc-nrf-config
5   namespace: {{ .Release.Namespace }}
6 data:
7
8   nrfcfg.conf: |
9     info:
10       version: 1.0.0
11       description: NRF initial local configuration
12     
13     configuration:
14       MongoDBName: "free5gc"
15       #MongoDBUrl: "mongodb://f5gc-mongodb:32017"
16       MongoDBUrl: {{ .Values.configuration.MongoDBUrl }}
17       DefaultServiceIP: "f5gc-nrf"
18       sbi:
19         scheme: http
20         registerIPv4: {{ .Values.configuration.sbi.registerIPv4 }}
21         bindingIPv4: 0.0.0.0
22         port: {{ .Values.service.port }}
23       DefaultPlmnId:
24         mcc: "208"
25         mnc: "93"
26       serviceNameList:
27         - nnrf-nfm
28         - nnrf-disc
29
30   free5GC.conf: |
31     db_uri: {{ .Values.configuration.MongoDBUrl }}/free5GC
32     #db_uri: mongodb://192.168.30.54:32017/free5GC
33     #db_uri: mongodb://f5gc-mongodb:32017/free5GC
34     #all logging levels
35     #panic
36     #fatal
37     #error
38     #warn
39     #info
40     #debug
41     #trace
42     logger:
43     # network function
44       AMF:
45         debugLevel: info
46         ReportCaller: true
47       SMF:
48         debugLevel: info
49         ReportCaller: true
50       UDR:
51         debugLevel: info
52         ReportCaller: true
53       UDM:
54         debugLevel: info
55         ReportCaller: true
56       NRF:
57         debugLevel: info
58         ReportCaller: true
59       PCF:
60         debugLevel: info
61         ReportCaller: true
62       AUSF:
63         debugLevel: info
64         ReportCaller: true
65       N3IWF:
66         debugLevel: info
67         ReportCaller: true
68     # library
69       NAS:
70         debugLevel: info
71         ReportCaller: true
72       FSM:
73         debugLevel: info
74         ReportCaller: true
75       NGAP:
76         debugLevel: info
77         ReportCaller: true
78       NamfComm:
79         debugLevel: info
80         ReportCaller: true
81       NamfEventExposure:
82         debugLevel: info
83         ReportCaller: true
84       NsmfPDUSession:
85         debugLevel: info
86         ReportCaller: true
87       NudrDataRepository:
88         debugLevel: info
89         ReportCaller: true
90       OpenApi:
91         debugLevel: debug
92         ReportCaller: true
93       Aper:
94         debugLevel: info
95         ReportCaller: true
96       CommonConsumerTest:
97         debugLevel: info
98         ReportCaller: true
99     # webui
100       WEBUI:
101         debugLevel: info
102         ReportCaller: true
103 ---
104 apiVersion: v1
105 kind: Secret
106 metadata:
107    name: f5gc-nrf-tls-secret
108    namespace: {{ .Release.Namespace }}
109 type: Opaque
110 data:
111   {{ tpl (.Files.Glob "resources/config/cert/nrf.pem").AsSecrets . | indent 2 }}
112   {{ tpl (.Files.Glob "resources/config/cert/nrf.key").AsSecrets . | indent 2 }}
113