Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | # ================================================================================ |
Tomasz Wrobel | 0d893db | 2022-02-17 11:50:43 +0100 | [diff] [blame] | 3 | # Copyright (c) 2021-2022 Nokia. All rights reserved. |
Jack Lucas | c979732 | 2022-03-18 12:32:59 -0400 | [diff] [blame^] | 4 | # Copyright (c) 2021-2022 J. F. Lucas. All rights reserved. |
vv770d | 62d5378 | 2022-01-03 14:35:11 +0000 | [diff] [blame] | 5 | # Copyright (c) 2022 AT&T Intellectual Property. All rights reserved. |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 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 |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 26 | centralizedLoggingEnabled: true |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 27 | |
| 28 | ################################################################# |
| 29 | # Filebeat configuration defaults. |
| 30 | ################################################################# |
| 31 | filebeatConfig: |
| 32 | logstashServiceName: log-ls |
| 33 | logstashPort: 5044 |
| 34 | |
| 35 | ################################################################# |
| 36 | # initContainer images. |
| 37 | ################################################################# |
| 38 | tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0 |
Tomasz Wrobel | 1c39a90 | 2022-01-12 10:49:51 +0100 | [diff] [blame] | 39 | certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.5.0 |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 40 | |
| 41 | ################################################################# |
| 42 | # Application configuration defaults. |
| 43 | ################################################################# |
| 44 | # application image |
Tomasz Wrobel | 0d893db | 2022-02-17 11:50:43 +0100 | [diff] [blame] | 45 | image: onap/org.onap.dcaegen2.collectors.ves.vescollector:1.11.0 |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 46 | pullPolicy: Always |
| 47 | |
| 48 | # log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 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" . }}' |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 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 | # TLS role -- set to true if microservice acts as server |
| 60 | # If true, an init container will retrieve a server cert |
| 61 | # and key from AAF and mount them in certDirectory. |
| 62 | tlsServer: true |
| 63 | |
Remigiusz Janeczek | 9b00b56 | 2021-04-26 14:37:57 +0200 | [diff] [blame] | 64 | # CMPv2 certificate |
Remigiusz Janeczek | 7b09503 | 2021-05-20 19:39:44 +0200 | [diff] [blame] | 65 | # It is used only when: |
| 66 | # - certDirectory is set |
| 67 | # - global cmpv2Enabled flag is set to true |
Remigiusz Janeczek | 7b09503 | 2021-05-20 19:39:44 +0200 | [diff] [blame] | 68 | # - flag useCmpv2Certificates is set to true |
Piotr Marcinkiewicz | 7062518 | 2021-04-29 17:02:37 +0200 | [diff] [blame] | 69 | # Disabled by default |
Remigiusz Janeczek | 7b09503 | 2021-05-20 19:39:44 +0200 | [diff] [blame] | 70 | useCmpv2Certificates: false |
Remigiusz Janeczek | 9b00b56 | 2021-04-26 14:37:57 +0200 | [diff] [blame] | 71 | certificates: |
| 72 | - mountPath: /opt/app/dcae-certificate/external |
| 73 | commonName: dcae-ves-collector |
| 74 | dnsNames: |
| 75 | - dcae-ves-collector |
| 76 | - ves-collector |
| 77 | - ves |
| 78 | keystore: |
| 79 | outputType: |
| 80 | - jks |
| 81 | passwordSecretRef: |
| 82 | name: ves-cmpv2-keystore-password |
| 83 | key: password |
| 84 | create: true |
| 85 | |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 86 | # dependencies |
| 87 | readinessCheck: |
| 88 | wait_for: |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 89 | - aaf-cm |
| 90 | |
| 91 | # probe configuration |
| 92 | initialDelaySeconds: 5 |
| 93 | periodSeconds: 15 |
| 94 | path: /healthcheck |
| 95 | scheme: HTTP |
| 96 | port: 8080 |
| 97 | |
| 98 | # service configuration |
| 99 | service: |
| 100 | type: NodePort |
| 101 | name: dcae-ves-collector |
| 102 | ports: |
| 103 | - name: http |
| 104 | port: 8443 |
| 105 | plain_port: 8080 |
| 106 | port_protocol: http |
| 107 | nodePort: 17 |
| 108 | useNodePortExt: true |
| 109 | |
Piotr Marcinkiewicz | 3a9b994 | 2021-08-31 08:56:43 +0200 | [diff] [blame] | 110 | # application environments |
| 111 | applicationEnv: |
| 112 | CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml' |
Vijay Venkatesh Kumar | 5e13811 | 2021-12-14 11:41:36 -0500 | [diff] [blame] | 113 | LOG4J_FORMAT_MSG_NO_LOOKUPS: 'true' |
Piotr Marcinkiewicz | 3a9b994 | 2021-08-31 08:56:43 +0200 | [diff] [blame] | 114 | |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 115 | # initial application configuration |
| 116 | applicationConfig: |
| 117 | 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 |
| 118 | collector.inputQueue.maxPending: "8096" |
| 119 | collector.keystore.file.location: /opt/app/dcae-certificate/cert.jks |
| 120 | collector.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass |
| 121 | collector.truststore.file.location: /opt/app/dcae-certificate/trust.jks |
| 122 | collector.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass |
| 123 | collector.schema.checkflag: "1" |
Remigiusz Janeczek | e2bb52d | 2021-03-24 12:32:41 +0100 | [diff] [blame] | 124 | 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 Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 125 | collector.externalSchema.checkflag: 1 |
| 126 | collector.externalSchema.schemasLocation: "./etc/externalRepo/" |
| 127 | collector.externalSchema.mappingFileLocation: "./etc/externalRepo/schema-map.json" |
| 128 | event.externalSchema.schemaRefPath: $.event.stndDefinedFields.schemaReference |
| 129 | event.externalSchema.stndDefinedDataPath: $.event.stndDefinedFields.data |
| 130 | collector.service.port: "8080" |
| 131 | collector.service.secure.port: "8443" |
| 132 | event.transform.flag: "0" |
| 133 | auth.method: "certBasicAuth" |
| 134 | header.authlist: "sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6|demouser,$2a$10$1cc.COcqV/d3iT2N7BjPG.S6ZKv2jpb9a5MV.o7lMih/GpjJRX.Ce" |
| 135 | services_calls: [] |
| 136 | streams_publishes: |
| 137 | ves-fault: |
| 138 | dmaap_info: |
| 139 | topic_url: |
| 140 | "http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT" |
| 141 | type: message_router |
| 142 | ves-measurement: |
| 143 | dmaap_info: |
| 144 | topic_url: |
| 145 | "http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT" |
| 146 | type: message_router |
| 147 | ves-notification: |
| 148 | dmaap_info: |
| 149 | topic_url: |
| 150 | "http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT" |
| 151 | type: message_router |
| 152 | ves-pnfRegistration: |
| 153 | dmaap_info: |
| 154 | topic_url: |
| 155 | "http://message-router:3904/events/unauthenticated.VES_PNFREG_OUTPUT" |
| 156 | type: message_router |
| 157 | ves-heartbeat: |
| 158 | dmaap_info: |
| 159 | topic_url: |
| 160 | "http://message-router:3904/events/unauthenticated.SEC_HEARTBEAT_OUTPUT" |
| 161 | type: message_router |
| 162 | ves-other: |
| 163 | dmaap_info: |
| 164 | topic_url: |
| 165 | "http://message-router:3904/events/unauthenticated.SEC_OTHER_OUTPUT" |
| 166 | type: message_router |
| 167 | ves-3gpp-fault-supervision: |
| 168 | dmaap_info: |
| 169 | topic_url: |
| 170 | "http://message-router:3904/events/unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT" |
| 171 | type: message_router |
| 172 | ves-3gpp-provisioning: |
| 173 | dmaap_info: |
| 174 | topic_url: |
| 175 | "http://message-router:3904/events/unauthenticated.SEC_3GPP_PROVISIONING_OUTPUT" |
| 176 | type: message_router |
| 177 | ves-3gpp-heartbeat: |
| 178 | dmaap_info: |
| 179 | topic_url: |
| 180 | "http://message-router:3904/events/unauthenticated.SEC_3GPP_HEARTBEAT_OUTPUT" |
| 181 | type: message_router |
| 182 | ves-3gpp-performance-assurance: |
| 183 | dmaap_info: |
| 184 | topic_url: |
| 185 | "http://message-router:3904/events/unauthenticated.SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT" |
| 186 | type: message_router |
| 187 | collector.dynamic.config.update.frequency: "5" |
| 188 | # Resource Limit flavor -By Default using small |
| 189 | flavor: small |
| 190 | # Segregation for Different environment (Small and Large) |
| 191 | resources: |
| 192 | small: |
| 193 | limits: |
| 194 | cpu: 2 |
| 195 | memory: 2Gi |
| 196 | requests: |
| 197 | cpu: 1 |
| 198 | memory: 1Gi |
| 199 | large: |
| 200 | limits: |
| 201 | cpu: 4 |
| 202 | memory: 4Gi |
| 203 | requests: |
| 204 | cpu: 2 |
| 205 | memory: 2Gi |
| 206 | unlimited: {} |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 207 | |
| 208 | #Pods Service Account |
| 209 | serviceAccount: |
| 210 | nameOverride: dcae-ves-collector |
| 211 | roles: |
| 212 | - read |