networkslice: Added free5gc helm charts.
[icn.git] / demo / networkslice / free5gc / helm / f5gc-pcf / templates / configmap.yaml
1 apiVersion: v1
2 kind: ConfigMap
3 metadata:
4   name: f5gc-pcf-config
5 data:
6   pcfcfg.conf: |
7     info:
8       version: 1.0.0
9       description: PCF initial local configuration
10     
11     configuration:
12       pcfName: PCF
13       sbi:
14         scheme: {{ .Values.configuration.sbi.scheme }}
15         registerIPv4: {{ .Values.configuration.sbi.registerIPv4 }}     # Can also be a kubernetes service IP or domain name.
16         bindingIPv4: 0.0.0.0      # Can also be an ENV.
17         port: {{ .Values.service.port }}
18       timeFormat: 2019-01-02 15:04:05
19       defaultBdtRefId: BdtPolicyId-
20       nrfUri: {{ .Values.configuration.nrfUri }}
21       serviceList:
22         - serviceName: npcf-am-policy-control
23         - serviceName: npcf-smpolicycontrol
24           suppFeat: 3fff
25         - serviceName: npcf-bdtpolicycontrol
26         - serviceName: npcf-policyauthorization
27           suppFeat: 3
28         - serviceName: npcf-eventexposure
29         - serviceName: npcf-ue-policy-control
30       mongodb:
31         name: f5gc-mongodb
32         url: {{ .Values.configuration.mongodb.url }}/free5gc
33
34   free5GC.conf: |
35     db_uri: {{ .Values.configuration.mongodb.url }}/free5gc
36
37     #all logging levels
38     #panic
39     #fatal
40     #error
41     #warn
42     #debug
43     #debug
44     #trace
45     logger:
46     # network function
47       AMF:
48         debugLevel: debug
49         ReportCaller: true
50       SMF:
51         debugLevel: debug
52         ReportCaller: true
53       UDR:
54         debugLevel: debug
55         ReportCaller: true
56       UDM:
57         debugLevel: debug
58         ReportCaller: true
59       NRF:
60         debugLevel: debug
61         ReportCaller: true
62       PCF:
63         debugLevel: debug
64         ReportCaller: true
65       AUSF:
66         debugLevel: debug
67         ReportCaller: true
68       N3IWF:
69         debugLevel: debug
70         ReportCaller: true
71     # library
72       NAS:
73         debugLevel: debug
74         ReportCaller: true
75       FSM:
76         debugLevel: debug
77         ReportCaller: true
78       NGAP:
79         debugLevel: debug
80         ReportCaller: true
81       NamfComm:
82         debugLevel: debug
83         ReportCaller: true
84       NamfEventExposure:
85         debugLevel: debug
86         ReportCaller: true
87       NsmfPDUSession:
88         debugLevel: debug
89         ReportCaller: true
90       NudrDataRepository:
91         debugLevel: debug
92         ReportCaller: true
93       OpenApi:
94         debugLevel: debug
95         ReportCaller: true
96       Aper:
97         debugLevel: debug
98         ReportCaller: true
99       CommonConsumerTest:
100         debugLevel: debug
101         ReportCaller: true
102     # webui
103       WEBUI:
104         debugLevel: debug
105         ReportCaller: true
106 ---        
107 apiVersion: v1
108 kind: Secret
109 metadata:
110     name: f5gc-pcf-tls-secret
111 type: Opaque
112 data:
113     {{ tpl (.Files.Glob "resources/config/cert/pcf.pem").AsSecrets . | indent 2 }}
114     {{ tpl (.Files.Glob "resources/config/cert/pcf.key").AsSecrets . | indent 2 }}