blob: 67b8824740f75bad07af9c16ff0aef740db478ed [file] [log] [blame]
Jack Lucasd41dbdb2021-02-16 11:07:28 -05001#============LICENSE_START========================================================
2# ================================================================================
Tomasz Wrobel0d893db2022-02-17 11:50:43 +01003# Copyright (c) 2021-2022 Nokia. All rights reserved.
Jack Lucas64da4e72023-03-03 14:46:05 -05004# Copyright (c) 2021-2023 J. F. Lucas. All rights reserved.
vv770d62d53782022-01-03 14:35:11 +00005# Copyright (c) 2022 AT&T Intellectual Property. All rights reserved.
sushant53ad8e7c72024-02-01 18:41:22 +05306# Copyright (c) 2024 Deutsche Telekom Intellectual Property. All rights reserved.
Jack Lucasd41dbdb2021-02-16 11:07:28 -05007# ================================================================================
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#################################################################
24global:
25 nodePortPrefix: 302
26 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010027 centralizedLoggingEnabled: true
Jack Lucasd41dbdb2021-02-16 11:07:28 -050028
29#################################################################
30# Filebeat configuration defaults.
31#################################################################
32filebeatConfig:
33 logstashServiceName: log-ls
34 logstashPort: 5044
35
36#################################################################
37# initContainer images.
38#################################################################
Tomasz Wrobel1c39a902022-01-12 10:49:51 +010039certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.5.0
Jack Lucasd41dbdb2021-02-16 11:07:28 -050040
41#################################################################
42# Application configuration defaults.
43#################################################################
44# application image
sushant53ad8e7c72024-02-01 18:41:22 +053045image: onap/org.onap.dcaegen2.collectors.ves.vescollector:1.12.4
Jack Lucasd41dbdb2021-02-16 11:07:28 -050046pullPolicy: Always
47
48# log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010049# if path is set to null sidecar won't be deployed in spite of
50# global.centralizedLoggingEnabled setting.
51log:
52 path: /opt/app/VESCollector/logs
53logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
Jack Lucasd41dbdb2021-02-16 11:07:28 -050054
55# directory where TLS certs should be stored
56# if absent, no certs will be retrieved and stored
57certDirectory: /opt/app/dcae-certificate
58
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020059# CMPv2 certificate
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020060# It is used only when:
61# - certDirectory is set
62# - global cmpv2Enabled flag is set to true
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020063# - flag useCmpv2Certificates is set to true
Piotr Marcinkiewicz70625182021-04-29 17:02:37 +020064# Disabled by default
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020065useCmpv2Certificates: false
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020066certificates:
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
Jack Lucasd41dbdb2021-02-16 11:07:28 -050081# dependencies
82readinessCheck:
83 wait_for:
rope2525a7fbee2022-07-25 20:00:36 +010084 - message-router
Jack Lucasd41dbdb2021-02-16 11:07:28 -050085
86# probe configuration
87 initialDelaySeconds: 5
88 periodSeconds: 15
89 path: /healthcheck
90 scheme: HTTP
91 port: 8080
92
93# service configuration
94service:
95 type: NodePort
96 name: dcae-ves-collector
97 ports:
98 - name: http
99 port: 8443
100 plain_port: 8080
101 port_protocol: http
102 nodePort: 17
103 useNodePortExt: true
104
Andreas Geissler261763a2022-10-17 18:39:54 +0200105ingress:
106 enabled: false
107 service:
108 - baseaddr: "dcae-ves-collector-api"
109 name: "dcae-ves-collector"
110 port: 8443
111 plain_port: 8080
112 config:
113 ssl: "redirect"
114
AndrewLambbd6ff6b2023-05-04 15:56:49 +0100115serviceMesh:
116 authorizationPolicy:
117 authorizedPrincipals:
118 - serviceAccount: istio-ingress
119 namespace: istio-ingress
120
Piotr Marcinkiewicz3a9b9942021-08-31 08:56:43 +0200121# application environments
122applicationEnv:
123 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
Vijay Venkatesh Kumar5e138112021-12-14 11:41:36 -0500124 LOG4J_FORMAT_MSG_NO_LOOKUPS: 'true'
sushant53ad8e7c72024-02-01 18:41:22 +0530125 BOOTSTRAP_SERVERS: '{{ include "common.release" . }}-strimzi-kafka-bootstrap:9092'
126 JAAS_CONFIG:
127 externalSecret: true
128 externalSecretUid: '{{ include "common.name" . }}-ku'
129 key: sasl.jaas.config
130
131# Strimzi Kafka config
132kafkaUser:
133 acls:
134 - name: unauthenticated.VES_PNFREG_OUTPUT
135 type: topic
136 patternType: literal
137 operations: [Write, DescribeConfigs]
138 - name: unauthenticated.VES_NOTIFICATION_OUTPUT
139 type: topic
140 patternType: literal
141 operations: [Write, DescribeConfigs]
142 - name: unauthenticated.SEC_HEARTBEAT_OUTPUT
143 type: topic
144 patternType: literal
145 operations: [Write, DescribeConfigs]
146 - name: unauthenticated.SEC_OTHER_OUTPUT
147 type: topic
148 patternType: literal
149 operations: [Write, DescribeConfigs]
150 - name: unauthenticated.SEC_FAULT_OUTPUT
151 type: topic
152 patternType: literal
153 operations: [Write, DescribeConfigs]
154 - name: unauthenticated.VES_MEASUREMENT_OUTPUT
155 type: topic
156 patternType: literal
157 operations: [Write, DescribeConfigs]
158 - name: unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT
159 type: topic
160 patternType: literal
161 operations: [Write, DescribeConfigs]
162 - name: unauthenticated.SEC_3GPP_PROVISIONING_OUTPUT
163 type: topic
164 patternType: literal
165 operations: [Write, DescribeConfigs]
166 - name: unauthenticated.SEC_3GPP_HEARTBEAT_OUTPUT
167 type: topic
168 patternType: literal
169 operations: [Write, DescribeConfigs]
170 - name: unauthenticated.SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT
171 type: topic
172 patternType: literal
173 operations: [Write, DescribeConfigs]
174
175kafkaTopic:
176 - name: unauthenticated.VES_PNFREG_OUTPUT
177 strimziTopicName: unauthenticated.ves-pnfreg-output
178 - name: unauthenticated.VES_NOTIFICATION_OUTPUT
179 strimziTopicName: unauthenticated.ves-notification-output
180 - name: unauthenticated.SEC_HEARTBEAT_OUTPUT
181 strimziTopicName: unauthenticated.sec-heartbeat-output
182 - name: unauthenticated.SEC_OTHER_OUTPUT
183 strimziTopicName: unauthenticated.sec-other-output
184 - name: unauthenticated.SEC_FAULT_OUTPUT
185 strimziTopicName: unauthenticated.sec-fault-output
186 - name: unauthenticated.VES_MEASUREMENT_OUTPUT
187 strimziTopicName: unauthenticated.ves-measurment-output
188 - name: unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT
189 strimziTopicName: unauthenticated.sec-3gpp-faultsupervision-output
190 - name: unauthenticated.SEC_3GPP_PROVISIONING_OUTPUT
191 strimziTopicName: unauthenticated.sec-3gpp-provisioning-output
192 - name: unauthenticated.SEC_3GPP_HEARTBEAT_OUTPUT
193 strimziTopicName: unauthenticated.sec-3gpp-heartbeat-output
194 - name: unauthenticated.SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT
195 strimziTopicName: unauthenticated.sec-3gpp-performanceassurance-output
Piotr Marcinkiewicz3a9b9942021-08-31 08:56:43 +0200196
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500197# initial application configuration
198applicationConfig:
199 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
200 collector.inputQueue.maxPending: "8096"
201 collector.keystore.file.location: /opt/app/dcae-certificate/cert.jks
202 collector.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass
203 collector.truststore.file.location: /opt/app/dcae-certificate/trust.jks
204 collector.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass
205 collector.schema.checkflag: "1"
Remigiusz Janeczeke2bb52d2021-03-24 12:32:41 +0100206 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\"}"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500207 collector.externalSchema.checkflag: 1
208 collector.externalSchema.schemasLocation: "./etc/externalRepo/"
209 collector.externalSchema.mappingFileLocation: "./etc/externalRepo/schema-map.json"
210 event.externalSchema.schemaRefPath: $.event.stndDefinedFields.schemaReference
211 event.externalSchema.stndDefinedDataPath: $.event.stndDefinedFields.data
212 collector.service.port: "8080"
213 collector.service.secure.port: "8443"
214 event.transform.flag: "0"
Andreas Geisslerb0841b82022-12-16 10:40:21 +0100215 auth.method: "noAuth"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500216 header.authlist: "sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6|demouser,$2a$10$1cc.COcqV/d3iT2N7BjPG.S6ZKv2jpb9a5MV.o7lMih/GpjJRX.Ce"
217 services_calls: []
218 streams_publishes:
219 ves-fault:
220 dmaap_info:
221 topic_url:
222 "http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT"
223 type: message_router
224 ves-measurement:
225 dmaap_info:
226 topic_url:
227 "http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT"
228 type: message_router
229 ves-notification:
230 dmaap_info:
231 topic_url:
232 "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
233 type: message_router
234 ves-pnfRegistration:
235 dmaap_info:
236 topic_url:
237 "http://message-router:3904/events/unauthenticated.VES_PNFREG_OUTPUT"
238 type: message_router
239 ves-heartbeat:
240 dmaap_info:
241 topic_url:
242 "http://message-router:3904/events/unauthenticated.SEC_HEARTBEAT_OUTPUT"
243 type: message_router
244 ves-other:
245 dmaap_info:
246 topic_url:
247 "http://message-router:3904/events/unauthenticated.SEC_OTHER_OUTPUT"
248 type: message_router
249 ves-3gpp-fault-supervision:
250 dmaap_info:
251 topic_url:
252 "http://message-router:3904/events/unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT"
253 type: message_router
254 ves-3gpp-provisioning:
255 dmaap_info:
256 topic_url:
257 "http://message-router:3904/events/unauthenticated.SEC_3GPP_PROVISIONING_OUTPUT"
258 type: message_router
259 ves-3gpp-heartbeat:
260 dmaap_info:
261 topic_url:
262 "http://message-router:3904/events/unauthenticated.SEC_3GPP_HEARTBEAT_OUTPUT"
263 type: message_router
264 ves-3gpp-performance-assurance:
265 dmaap_info:
266 topic_url:
267 "http://message-router:3904/events/unauthenticated.SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT"
268 type: message_router
269 collector.dynamic.config.update.frequency: "5"
270# Resource Limit flavor -By Default using small
271flavor: small
272# Segregation for Different environment (Small and Large)
273resources:
274 small:
275 limits:
vladimir turokdb8167b2023-09-20 11:09:21 +0200276 cpu: 2
Andreas Geissler555db9c2023-06-20 11:38:39 +0200277 memory: 1.5Gi
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500278 requests:
279 cpu: 1
Andreas Geissler555db9c2023-06-20 11:38:39 +0200280 memory: 1.5Gi
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500281 large:
282 limits:
vladimir turokdb8167b2023-09-20 11:09:21 +0200283 cpu: 4
Andreas Geissler555db9c2023-06-20 11:38:39 +0200284 memory: 3Gi
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500285 requests:
286 cpu: 2
Andreas Geissler555db9c2023-06-20 11:38:39 +0200287 memory: 3Gi
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500288 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200289
290#Pods Service Account
291serviceAccount:
292 nameOverride: dcae-ves-collector
293 roles:
294 - read