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