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