Merge "[AAI] Add model-loader tracing config"
[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 # Copyright (c) 2024 Deutsche Telekom Intellectual Property. All rights reserved.
7 # ================================================================================
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
11 #
12 #     http://www.apache.org/licenses/LICENSE-2.0
13 #
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 # ============LICENSE_END=========================================================
20
21 #################################################################
22 # Global configuration defaults.
23 #################################################################
24 global:
25   nodePortPrefix: 302
26   nodePortPrefixExt: 304
27   centralizedLoggingEnabled: true
28
29 #################################################################
30 # Filebeat configuration defaults.
31 #################################################################
32 filebeatConfig:
33   logstashServiceName: log-ls
34   logstashPort: 5044
35
36 #################################################################
37 # initContainer images.
38 #################################################################
39 certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.5.0
40
41 #################################################################
42 # Application configuration defaults.
43 #################################################################
44 # application image
45 image: onap/org.onap.dcaegen2.collectors.ves.vescollector:1.12.4
46 pullPolicy: Always
47
48 # log directory where logging sidecar should look for log files
49 # if path is set to null sidecar won't be deployed in spite of
50 # global.centralizedLoggingEnabled setting.
51 log:
52   path: /opt/app/VESCollector/logs
53 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
54
55 # directory where TLS certs should be stored
56 # if absent, no certs will be retrieved and stored
57 certDirectory: /opt/app/dcae-certificate
58
59 # CMPv2 certificate
60 # It is used only when:
61 # - certDirectory is set
62 # - global cmpv2Enabled flag is set to true
63 # - flag useCmpv2Certificates is set to true
64 # Disabled by default
65 useCmpv2Certificates: false
66 certificates:
67   - mountPath: /opt/app/dcae-certificate/external
68     commonName: dcae-ves-collector
69     dnsNames:
70       - dcae-ves-collector
71       - ves-collector
72       - ves
73     keystore:
74       outputType:
75         - jks
76       passwordSecretRef:
77         name: ves-cmpv2-keystore-password
78         key: password
79         create: true
80
81 # probe configuration
82 readiness:
83   initialDelaySeconds: 5
84   periodSeconds: 15
85   path: /healthcheck
86   scheme: HTTP
87   port: 8080
88
89 # service configuration
90 service:
91   type: NodePort
92   name: dcae-ves-collector
93   ports:
94     - name: http
95       port: 8443
96       plain_port: 8080
97       port_protocol: http
98       nodePort: 17
99       useNodePortExt: true
100
101 ingress:
102   enabled: false
103   service:
104     - baseaddr: "dcae-ves-collector-api"
105       name: "dcae-ves-collector"
106       port: 8443
107       plain_port: 8080
108   config:
109     ssl: "redirect"
110
111 serviceMesh:
112   authorizationPolicy:
113     authorizedPrincipals:
114       - serviceAccount: istio-ingress
115         namespace: istio-ingress
116
117 # application environments
118 applicationEnv:
119   CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
120   LOG4J_FORMAT_MSG_NO_LOOKUPS: 'true'
121   BOOTSTRAP_SERVERS: '{{ include "common.release" . }}-strimzi-kafka-bootstrap:9092'
122   JAAS_CONFIG:
123     externalSecret: true
124     externalSecretUid: '{{ include "common.name" . }}-ku'
125     key: sasl.jaas.config
126
127 # Strimzi Kafka config
128 kafkaUser:
129   acls:
130     - name: unauthenticated.VES_PNFREG_OUTPUT
131       type: topic
132       patternType: literal
133       operations: [Write, DescribeConfigs]
134     - name: unauthenticated.VES_NOTIFICATION_OUTPUT
135       type: topic
136       patternType: literal
137       operations: [Write, DescribeConfigs]
138     - name: unauthenticated.SEC_HEARTBEAT_OUTPUT
139       type: topic
140       patternType: literal
141       operations: [Write, DescribeConfigs]
142     - name: unauthenticated.SEC_OTHER_OUTPUT
143       type: topic
144       patternType: literal
145       operations: [Write, DescribeConfigs]
146     - name: unauthenticated.SEC_FAULT_OUTPUT
147       type: topic
148       patternType: literal
149       operations: [Write, DescribeConfigs]
150     - name: unauthenticated.VES_MEASUREMENT_OUTPUT
151       type: topic
152       patternType: literal
153       operations: [Write, DescribeConfigs]
154     - name: unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT
155       type: topic
156       patternType: literal
157       operations: [Write, DescribeConfigs]
158     - name: unauthenticated.SEC_3GPP_PROVISIONING_OUTPUT
159       type: topic
160       patternType: literal
161       operations: [Write, DescribeConfigs]
162     - name: unauthenticated.SEC_3GPP_HEARTBEAT_OUTPUT
163       type: topic
164       patternType: literal
165       operations: [Write, DescribeConfigs]
166     - name: unauthenticated.SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT
167       type: topic
168       patternType: literal
169       operations: [Write, DescribeConfigs]
170
171 kafkaTopic:
172   - name: unauthenticated.VES_PNFREG_OUTPUT
173     strimziTopicName: unauthenticated.ves-pnfreg-output
174   - name: unauthenticated.VES_NOTIFICATION_OUTPUT
175     strimziTopicName: unauthenticated.ves-notification-output
176   - name: unauthenticated.SEC_HEARTBEAT_OUTPUT
177     strimziTopicName: unauthenticated.sec-heartbeat-output
178   - name: unauthenticated.SEC_OTHER_OUTPUT
179     strimziTopicName: unauthenticated.sec-other-output
180   - name: unauthenticated.SEC_FAULT_OUTPUT
181     strimziTopicName: unauthenticated.sec-fault-output
182   - name: unauthenticated.VES_MEASUREMENT_OUTPUT
183     strimziTopicName: unauthenticated.ves-measurment-output
184   - name: unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT
185     strimziTopicName: unauthenticated.sec-3gpp-faultsupervision-output
186   - name: unauthenticated.SEC_3GPP_PROVISIONING_OUTPUT
187     strimziTopicName: unauthenticated.sec-3gpp-provisioning-output
188   - name: unauthenticated.SEC_3GPP_HEARTBEAT_OUTPUT
189     strimziTopicName: unauthenticated.sec-3gpp-heartbeat-output
190   - name: unauthenticated.SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT
191     strimziTopicName: unauthenticated.sec-3gpp-performanceassurance-output
192
193 # initial application configuration
194 applicationConfig:
195   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
196   collector.inputQueue.maxPending: "8096"
197   collector.keystore.file.location: /opt/app/dcae-certificate/cert.jks
198   collector.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass
199   collector.truststore.file.location: /opt/app/dcae-certificate/trust.jks
200   collector.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass
201   collector.schema.checkflag: "1"
202   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\"}"
203   collector.externalSchema.checkflag: 1
204   collector.externalSchema.schemasLocation: "./etc/externalRepo/"
205   collector.externalSchema.mappingFileLocation: "./etc/externalRepo/schema-map.json"
206   event.externalSchema.schemaRefPath: $.event.stndDefinedFields.schemaReference
207   event.externalSchema.stndDefinedDataPath: $.event.stndDefinedFields.data
208   collector.service.port: "8080"
209   collector.service.secure.port: "8443"
210   event.transform.flag: "0"
211   auth.method: "noAuth"
212   header.authlist: "sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6|demouser,$2a$10$1cc.COcqV/d3iT2N7BjPG.S6ZKv2jpb9a5MV.o7lMih/GpjJRX.Ce"
213   services_calls: []
214   streams_publishes:
215     ves-fault:
216       dmaap_info:
217         topic_url:
218           "http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT"
219       type: message_router
220     ves-measurement:
221       dmaap_info:
222         topic_url:
223           "http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT"
224       type: message_router
225     ves-notification:
226       dmaap_info:
227         topic_url:
228           "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
229       type: message_router
230     ves-pnfRegistration:
231       dmaap_info:
232         topic_url:
233           "http://message-router:3904/events/unauthenticated.VES_PNFREG_OUTPUT"
234       type: message_router
235     ves-heartbeat:
236       dmaap_info:
237         topic_url:
238           "http://message-router:3904/events/unauthenticated.SEC_HEARTBEAT_OUTPUT"
239       type: message_router
240     ves-other:
241       dmaap_info:
242         topic_url:
243           "http://message-router:3904/events/unauthenticated.SEC_OTHER_OUTPUT"
244       type: message_router
245     ves-3gpp-fault-supervision:
246       dmaap_info:
247         topic_url:
248           "http://message-router:3904/events/unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT"
249       type: message_router
250     ves-3gpp-provisioning:
251       dmaap_info:
252         topic_url:
253           "http://message-router:3904/events/unauthenticated.SEC_3GPP_PROVISIONING_OUTPUT"
254       type: message_router
255     ves-3gpp-heartbeat:
256       dmaap_info:
257         topic_url:
258           "http://message-router:3904/events/unauthenticated.SEC_3GPP_HEARTBEAT_OUTPUT"
259       type: message_router
260     ves-3gpp-performance-assurance:
261       dmaap_info:
262         topic_url:
263           "http://message-router:3904/events/unauthenticated.SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT"
264       type: message_router
265   collector.dynamic.config.update.frequency: "5"
266 # Resource Limit flavor -By Default using small
267 flavor: small
268 # Segregation for Different environment (Small and Large)
269 resources:
270   small:
271     limits:
272       cpu: "2"
273       memory: "1.5Gi"
274     requests:
275       cpu: "1"
276       memory: "1.5Gi"
277   large:
278     limits:
279       cpu: "4"
280       memory: "3Gi"
281     requests:
282       cpu: "2"
283       memory: "3Gi"
284   unlimited: {}
285
286 #Pods Service Account
287 serviceAccount:
288   nameOverride: dcae-ves-collector
289   roles:
290     - read