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