Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | # ================================================================================ |
Jack Lucas | c979732 | 2022-03-18 12:32:59 -0400 | [diff] [blame] | 3 | # Copyright (c) 2021-2022 J. F. Lucas. All rights reserved. |
Kasperki | 5e1d978 | 2022-02-24 17:49:04 +0100 | [diff] [blame] | 4 | # Copyright (c) 2021-2022 Nokia. All rights reserved. |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 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 |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 25 | centralizedLoggingEnabled: true |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 26 | |
| 27 | ################################################################# |
| 28 | # Filebeat configuration defaults. |
| 29 | ################################################################# |
| 30 | filebeatConfig: |
| 31 | logstashServiceName: log-ls |
| 32 | logstashPort: 5044 |
| 33 | |
| 34 | ################################################################# |
| 35 | # initContainer images. |
| 36 | ################################################################# |
| 37 | tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0 |
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 |
Kasperki | 5e1d978 | 2022-02-24 17:49:04 +0100 | [diff] [blame] | 44 | image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.10.0 |
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: /var/log/ONAP/dcae-hv-ves-collector |
| 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: /etc/ves-hv/ssl |
| 57 | |
| 58 | # TLS role -- set to true if microservice acts as server |
| 59 | # If true, an init container will retrieve a server cert |
| 60 | # and key from AAF and mount them in certDirectory. |
| 61 | tlsServer: true |
| 62 | |
| 63 | secrets: |
| 64 | - uid: &aafCredsUID aafcreds |
| 65 | type: basicAuth |
| 66 | login: '{{ .Values.aafCreds.user }}' |
| 67 | password: '{{ .Values.aafCreds.password }}' |
| 68 | passwordPolicy: required |
| 69 | |
Remigiusz Janeczek | 9b00b56 | 2021-04-26 14:37:57 +0200 | [diff] [blame] | 70 | # CMPv2 certificate |
Remigiusz Janeczek | 7b09503 | 2021-05-20 19:39:44 +0200 | [diff] [blame] | 71 | # It is used only when: |
| 72 | # - certDirectory is set |
| 73 | # - global cmpv2Enabled flag is set to true |
Remigiusz Janeczek | 7b09503 | 2021-05-20 19:39:44 +0200 | [diff] [blame] | 74 | # - flag useCmpv2Certificates is set to true |
Piotr Marcinkiewicz | 7062518 | 2021-04-29 17:02:37 +0200 | [diff] [blame] | 75 | # Disabled by default |
Remigiusz Janeczek | 7b09503 | 2021-05-20 19:39:44 +0200 | [diff] [blame] | 76 | useCmpv2Certificates: false |
Remigiusz Janeczek | 9b00b56 | 2021-04-26 14:37:57 +0200 | [diff] [blame] | 77 | certificates: |
| 78 | - mountPath: /etc/ves-hv/ssl/external |
| 79 | commonName: dcae-hv-ves-collector |
| 80 | dnsNames: |
| 81 | - dcae-hv-ves-collector |
| 82 | - hv-ves-collector |
| 83 | - hv-ves |
| 84 | keystore: |
| 85 | outputType: |
| 86 | - jks |
| 87 | passwordSecretRef: |
| 88 | name: hv-ves-cmpv2-keystore-password |
| 89 | key: password |
| 90 | create: true |
| 91 | |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 92 | # dependencies |
| 93 | readinessCheck: |
| 94 | wait_for: |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 95 | - aaf-cm |
| 96 | |
| 97 | # probe configuration |
| 98 | readiness: |
| 99 | type: exec |
| 100 | initialDelaySeconds: 5 |
| 101 | periodSeconds: 15 |
| 102 | timeoutSeconds: 2 |
| 103 | command: |
| 104 | - /opt/ves-hv-collector/healthcheck.sh |
| 105 | |
| 106 | # service configuration |
| 107 | service: |
| 108 | type: NodePort |
| 109 | name: dcae-hv-ves-collector |
| 110 | ports: |
| 111 | - name: http |
| 112 | port: 6061 |
| 113 | port_protocol: http |
| 114 | nodePort: 22 |
| 115 | |
| 116 | aafCreds: |
| 117 | user: admin |
| 118 | password: admin_secret |
| 119 | |
| 120 | credentials: |
| 121 | - name: AAF_USER |
| 122 | uid: *aafCredsUID |
| 123 | key: login |
| 124 | - name: AAF_PASSWORD |
| 125 | uid: *aafCredsUID |
| 126 | key: password |
| 127 | |
| 128 | # initial application configuration |
| 129 | applicationConfig: |
| 130 | logLevel: INFO |
| 131 | server.idleTimeoutSec: 300 |
| 132 | server.listenPort: 6061 |
| 133 | cbs.requestIntervalSec: 5 |
| 134 | security.sslDisable: false |
| 135 | security.keys.keyStoreFile: /etc/ves-hv/ssl/cert.jks |
| 136 | security.keys.keyStorePasswordFile: /etc/ves-hv/ssl/jks.pass |
| 137 | security.keys.trustStoreFile: /etc/ves-hv/ssl/trust.jks |
| 138 | security.keys.trustStorePasswordFile: /etc/ves-hv/ssl/trust.pass |
| 139 | streams_publishes: |
Tomasz Pietruszkiewicz | 773c5cb | 2021-03-31 07:35:03 +0200 | [diff] [blame] | 140 | ves-3gpp-fault-supervision: |
| 141 | type: kafka |
| 142 | aaf_credentials: |
| 143 | username: ${AAF_USER} |
| 144 | password: ${AAF_PASSWORD} |
| 145 | kafka_info: |
| 146 | bootstrap_servers: message-router-kafka:9092 |
| 147 | topic_name: SEC_3GPP_FAULTSUPERVISION_OUTPUT |
| 148 | ves-3gpp-provisioning: |
| 149 | type: kafka |
| 150 | aaf_credentials: |
| 151 | username: ${AAF_USER} |
| 152 | password: ${AAF_PASSWORD} |
| 153 | kafka_info: |
| 154 | bootstrap_servers: message-router-kafka:9092 |
| 155 | topic_name: SEC_3GPP_PROVISIONING_OUTPUT |
| 156 | ves-3gpp-heartbeat: |
| 157 | type: kafka |
| 158 | aaf_credentials: |
| 159 | username: ${AAF_USER} |
| 160 | password: ${AAF_PASSWORD} |
| 161 | kafka_info: |
| 162 | bootstrap_servers: message-router-kafka:9092 |
| 163 | topic_name: SEC_3GPP_HEARTBEAT_OUTPUT |
| 164 | ves-3gpp-performance-assurance: |
| 165 | type: kafka |
| 166 | aaf_credentials: |
| 167 | username: ${AAF_USER} |
| 168 | password: ${AAF_PASSWORD} |
| 169 | kafka_info: |
| 170 | bootstrap_servers: message-router-kafka:9092 |
| 171 | topic_name: SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 172 | perf3gpp: |
| 173 | type: kafka |
| 174 | aaf_credentials: |
| 175 | username: ${AAF_USER} |
| 176 | password: ${AAF_PASSWORD} |
| 177 | kafka_info: |
| 178 | bootstrap_servers: message-router-kafka:9092 |
| 179 | topic_name: HV_VES_PERF3GPP |
| 180 | |
| 181 | applicationEnv: |
| 182 | JAVA_OPTS: '-Dlogback.configurationFile=/etc/ONAP/dcae-hv-ves-collector/logback.xml' |
Joanna Jeremicz | 616ea93 | 2021-09-06 14:25:04 +0200 | [diff] [blame] | 183 | CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml' |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 184 | |
| 185 | # Resource Limit flavor -By Default using small |
| 186 | flavor: small |
| 187 | # Segregation for Different environment (Small and Large) |
| 188 | resources: |
| 189 | small: |
| 190 | limits: |
| 191 | cpu: 2 |
| 192 | memory: 2Gi |
| 193 | requests: |
| 194 | cpu: 1 |
| 195 | memory: 1Gi |
| 196 | large: |
| 197 | limits: |
| 198 | cpu: 4 |
| 199 | memory: 4Gi |
| 200 | requests: |
| 201 | cpu: 2 |
| 202 | memory: 2Gi |
| 203 | unlimited: {} |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 204 | |
| 205 | #Pods Service Account |
| 206 | serviceAccount: |
| 207 | nameOverride: dcae-hv-ves-collector |
| 208 | roles: |
| 209 | - read |