526d75077cc5298c0751e9d5831a960f80c9d39b
[oom.git] / kubernetes / dcaegen2-services / components / dcae-ves-collector / values.yaml
1 #============LICENSE_START========================================================
2 # ================================================================================
3 # Copyright (c) 2021-2022 Nokia.  All rights reserved.
4 # Copyright (c) 2021-2023 J. F. Lucas. All rights reserved.
5 # Copyright (c) 2022 AT&T Intellectual Property. All rights reserved.
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #     http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
19
20 #################################################################
21 # Global configuration defaults.
22 #################################################################
23 global:
24   nodePortPrefix: 302
25   nodePortPrefixExt: 304
26   centralizedLoggingEnabled: true
27
28 #################################################################
29 # Filebeat configuration defaults.
30 #################################################################
31 filebeatConfig:
32   logstashServiceName: log-ls
33   logstashPort: 5044
34
35 #################################################################
36 # initContainer images.
37 #################################################################
38 certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.5.0
39
40 #################################################################
41 # Application configuration defaults.
42 #################################################################
43 # application image
44 image: onap/org.onap.dcaegen2.collectors.ves.vescollector:1.12.3
45 pullPolicy: Always
46
47 # log directory where logging sidecar should look for log files
48 # if path is set to null sidecar won't be deployed in spite of
49 # global.centralizedLoggingEnabled setting.
50 log:
51   path: /opt/app/VESCollector/logs
52 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
53
54 # directory where TLS certs should be stored
55 # if absent, no certs will be retrieved and stored
56 certDirectory: /opt/app/dcae-certificate
57
58 # CMPv2 certificate
59 # It is used only when:
60 # - certDirectory is set
61 # - global cmpv2Enabled flag is set to true
62 # - flag useCmpv2Certificates is set to true
63 # Disabled by default
64 useCmpv2Certificates: false
65 certificates:
66   - mountPath: /opt/app/dcae-certificate/external
67     commonName: dcae-ves-collector
68     dnsNames:
69       - dcae-ves-collector
70       - ves-collector
71       - ves
72     keystore:
73       outputType:
74         - jks
75       passwordSecretRef:
76         name: ves-cmpv2-keystore-password
77         key: password
78         create: true
79
80 # dependencies
81 readinessCheck:
82   wait_for:
83     - message-router
84
85 # probe configuration
86   initialDelaySeconds: 5
87   periodSeconds: 15
88   path: /healthcheck
89   scheme: HTTP
90   port: 8080
91
92 # service configuration
93 service:
94   type: NodePort
95   name: dcae-ves-collector
96   ports:
97     - name: http
98       port: 8443
99       plain_port: 8080
100       port_protocol: http
101       nodePort: 17
102       useNodePortExt: true
103
104 ingress:
105   enabled: false
106   service:
107     - baseaddr: "dcae-ves-collector-api"
108       name: "dcae-ves-collector"
109       port: 8443
110       plain_port: 8080
111   config:
112     ssl: "redirect"
113
114 # application environments
115 applicationEnv:
116   CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
117   LOG4J_FORMAT_MSG_NO_LOOKUPS: 'true'
118
119 # initial application configuration
120 applicationConfig:
121   collector.dmaap.streamid: fault=ves-fault|syslog=ves-syslog|heartbeat=ves-heartbeat|measurement=ves-measurement|measurementsForVfScaling=ves-measurement|mobileFlow=ves-mobileflow|other=ves-other|stateChange=ves-statechange|thresholdCrossingAlert=ves-thresholdCrossingAlert|voiceQuality=ves-voicequality|sipSignaling=ves-sipsignaling|notification=ves-notification|pnfRegistration=ves-pnfRegistration|3GPP-FaultSupervision=ves-3gpp-fault-supervision|3GPP-Heartbeat=ves-3gpp-heartbeat|3GPP-Provisioning=ves-3gpp-provisioning|3GPP-PerformanceAssurance=ves-3gpp-performance-assurance
122   collector.inputQueue.maxPending: "8096"
123   collector.keystore.file.location: /opt/app/dcae-certificate/cert.jks
124   collector.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass
125   collector.truststore.file.location: /opt/app/dcae-certificate/trust.jks
126   collector.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass
127   collector.schema.checkflag: "1"
128   collector.schema.file: "{\"v1\":\"./etc/CommonEventFormat_27.2.json\",\"v2\":\"./etc/CommonEventFormat_27.2.json\",\"v3\":\"./etc/CommonEventFormat_27.2.json\",\"v4\":\"./etc/CommonEventFormat_27.2.json\",\"v5\":\"./etc/CommonEventFormat_28.4.1.json\",\"v7\":\"./etc/CommonEventFormat_30.2.1_ONAP.json\"}"
129   collector.externalSchema.checkflag: 1
130   collector.externalSchema.schemasLocation: "./etc/externalRepo/"
131   collector.externalSchema.mappingFileLocation: "./etc/externalRepo/schema-map.json"
132   event.externalSchema.schemaRefPath: $.event.stndDefinedFields.schemaReference
133   event.externalSchema.stndDefinedDataPath: $.event.stndDefinedFields.data
134   collector.service.port: "8080"
135   collector.service.secure.port: "8443"
136   event.transform.flag: "0"
137   auth.method: "noAuth"
138   header.authlist: "sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6|demouser,$2a$10$1cc.COcqV/d3iT2N7BjPG.S6ZKv2jpb9a5MV.o7lMih/GpjJRX.Ce"
139   services_calls: []
140   streams_publishes:
141     ves-fault:
142       dmaap_info:
143         topic_url:
144           "http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT"
145       type: message_router
146     ves-measurement:
147       dmaap_info:
148         topic_url:
149           "http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT"
150       type: message_router
151     ves-notification:
152       dmaap_info:
153         topic_url:
154           "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
155       type: message_router
156     ves-pnfRegistration:
157       dmaap_info:
158         topic_url:
159           "http://message-router:3904/events/unauthenticated.VES_PNFREG_OUTPUT"
160       type: message_router
161     ves-heartbeat:
162       dmaap_info:
163         topic_url:
164           "http://message-router:3904/events/unauthenticated.SEC_HEARTBEAT_OUTPUT"
165       type: message_router
166     ves-other:
167       dmaap_info:
168         topic_url:
169           "http://message-router:3904/events/unauthenticated.SEC_OTHER_OUTPUT"
170       type: message_router
171     ves-3gpp-fault-supervision:
172       dmaap_info:
173         topic_url:
174           "http://message-router:3904/events/unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT"
175       type: message_router
176     ves-3gpp-provisioning:
177       dmaap_info:
178         topic_url:
179           "http://message-router:3904/events/unauthenticated.SEC_3GPP_PROVISIONING_OUTPUT"
180       type: message_router
181     ves-3gpp-heartbeat:
182       dmaap_info:
183         topic_url:
184           "http://message-router:3904/events/unauthenticated.SEC_3GPP_HEARTBEAT_OUTPUT"
185       type: message_router
186     ves-3gpp-performance-assurance:
187       dmaap_info:
188         topic_url:
189           "http://message-router:3904/events/unauthenticated.SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT"
190       type: message_router
191   collector.dynamic.config.update.frequency: "5"
192 # Resource Limit flavor -By Default using small
193 flavor: small
194 # Segregation for Different environment (Small and Large)
195 resources:
196   small:
197     limits:
198       cpu: 2
199       memory: 2Gi
200     requests:
201       cpu: 1
202       memory: 1Gi
203   large:
204     limits:
205       cpu: 4
206       memory: 4Gi
207     requests:
208       cpu: 2
209       memory: 2Gi
210   unlimited: {}
211
212 #Pods Service Account
213 serviceAccount:
214   nameOverride: dcae-ves-collector
215   roles:
216     - read