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