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