Merge "[DCAEGEN2] Upgrade vescollector to 1.9.2"
[oom.git] / kubernetes / dcaegen2-services / components / dcae-ves-collector / values.yaml
1 #============LICENSE_START========================================================
2 # ================================================================================
3 # Copyright (c) 2021 J. F. Lucas. All rights reserved.
4 # Copyright (c) 2021 Nokia.  All rights reserved.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #     http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
18
19 #################################################################
20 # Global configuration defaults.
21 #################################################################
22 global:
23   nodePortPrefix: 302
24   nodePortPrefixExt: 304
25
26 #################################################################
27 # Filebeat configuration defaults.
28 #################################################################
29 filebeatConfig:
30   logstashServiceName: log-ls
31   logstashPort: 5044
32
33 #################################################################
34 # initContainer images.
35 #################################################################
36 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
37 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.0
38 certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.3.3
39
40 #################################################################
41 # Application configuration defaults.
42 #################################################################
43 # application image
44 image: onap/org.onap.dcaegen2.collectors.ves.vescollector:1.9.2
45 pullPolicy: Always
46
47 # log directory where logging sidecar should look for log files
48 # if absent, no sidecar will be deployed
49 logDirectory: /opt/app/VESCollector/logs
50
51 # directory where TLS certs should be stored
52 # if absent, no certs will be retrieved and stored
53 certDirectory: /opt/app/dcae-certificate
54
55 # TLS role -- set to true if microservice acts as server
56 # If true, an init container will retrieve a server cert
57 # and key from AAF and mount them in certDirectory.
58 tlsServer: true
59
60 # CMPv2 certificate
61 # It is used only when global parameter cmpv2Enabled is true
62 # Disabled by default
63 certificates:
64   - mountPath: /opt/app/dcae-certificate/external
65     commonName: dcae-ves-collector
66     dnsNames:
67       - dcae-ves-collector
68       - ves-collector
69       - ves
70     keystore:
71       outputType:
72         - jks
73       passwordSecretRef:
74         name: ves-cmpv2-keystore-password
75         key: password
76         create: true
77
78 # dependencies
79 readinessCheck:
80   wait_for:
81     - dcae-config-binding-service
82     - aaf-cm
83
84 # probe configuration
85   initialDelaySeconds: 5
86   periodSeconds: 15
87   path: /healthcheck
88   scheme: HTTP
89   port: 8080
90
91 # service configuration
92 service:
93   type: NodePort
94   name: dcae-ves-collector
95   ports:
96     - name: http
97       port: 8443
98       plain_port: 8080
99       port_protocol: http
100       nodePort: 17
101       useNodePortExt: true
102
103 # initial application configuration
104 applicationConfig:
105   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
106   collector.inputQueue.maxPending: "8096"
107   collector.keystore.file.location: /opt/app/dcae-certificate/cert.jks
108   collector.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass
109   collector.truststore.file.location: /opt/app/dcae-certificate/trust.jks
110   collector.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass
111   collector.schema.checkflag: "1"
112   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\"}"
113   collector.externalSchema.checkflag: 1
114   collector.externalSchema.schemasLocation: "./etc/externalRepo/"
115   collector.externalSchema.mappingFileLocation: "./etc/externalRepo/schema-map.json"
116   event.externalSchema.schemaRefPath: $.event.stndDefinedFields.schemaReference
117   event.externalSchema.stndDefinedDataPath: $.event.stndDefinedFields.data
118   collector.service.port: "8080"
119   collector.service.secure.port: "8443"
120   event.transform.flag: "0"
121   auth.method: "certBasicAuth"
122   header.authlist: "sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6|demouser,$2a$10$1cc.COcqV/d3iT2N7BjPG.S6ZKv2jpb9a5MV.o7lMih/GpjJRX.Ce"
123   services_calls: []
124   streams_publishes:
125     ves-fault:
126       dmaap_info:
127         topic_url:
128           "http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT"
129       type: message_router
130     ves-measurement:
131       dmaap_info:
132         topic_url:
133           "http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT"
134       type: message_router
135     ves-notification:
136       dmaap_info:
137         topic_url:
138           "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
139       type: message_router
140     ves-pnfRegistration:
141       dmaap_info:
142         topic_url:
143           "http://message-router:3904/events/unauthenticated.VES_PNFREG_OUTPUT"
144       type: message_router
145     ves-heartbeat:
146       dmaap_info:
147         topic_url:
148           "http://message-router:3904/events/unauthenticated.SEC_HEARTBEAT_OUTPUT"
149       type: message_router
150     ves-other:
151       dmaap_info:
152         topic_url:
153           "http://message-router:3904/events/unauthenticated.SEC_OTHER_OUTPUT"
154       type: message_router
155     ves-3gpp-fault-supervision:
156       dmaap_info:
157         topic_url:
158           "http://message-router:3904/events/unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT"
159       type: message_router
160     ves-3gpp-provisioning:
161       dmaap_info:
162         topic_url:
163           "http://message-router:3904/events/unauthenticated.SEC_3GPP_PROVISIONING_OUTPUT"
164       type: message_router
165     ves-3gpp-heartbeat:
166       dmaap_info:
167         topic_url:
168           "http://message-router:3904/events/unauthenticated.SEC_3GPP_HEARTBEAT_OUTPUT"
169       type: message_router
170     ves-3gpp-performance-assurance:
171       dmaap_info:
172         topic_url:
173           "http://message-router:3904/events/unauthenticated.SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT"
174       type: message_router
175   collector.dynamic.config.update.frequency: "5"
176 # Resource Limit flavor -By Default using small
177 flavor: small
178 # Segregation for Different environment (Small and Large)
179 resources:
180   small:
181     limits:
182       cpu: 2
183       memory: 2Gi
184     requests:
185       cpu: 1
186       memory: 1Gi
187   large:
188     limits:
189       cpu: 4
190       memory: 4Gi
191     requests:
192       cpu: 2
193       memory: 2Gi
194   unlimited: {}