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. |
efiacor | 26c1f7a | 2022-04-25 13:27:18 +0100 | [diff] [blame] | 5 | # Copyright © 2022 Nordix Foundation |
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 |
Tomasz Wrobel | 1c39a90 | 2022-01-12 10:49:51 +0100 | [diff] [blame] | 39 | 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] | 40 | |
| 41 | ################################################################# |
| 42 | # Application configuration defaults. |
| 43 | ################################################################# |
| 44 | # application image |
Tomasz Wrobel | f39c640 | 2022-09-12 15:48:10 +0200 | [diff] [blame] | 45 | image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.11.0 |
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. |
Andreas Geissler | b0841b8 | 2022-12-16 10:40:21 +0100 | [diff] [blame] | 62 | tlsServer: false |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 63 | |
| 64 | secrets: |
efiacor | 26c1f7a | 2022-04-25 13:27:18 +0100 | [diff] [blame] | 65 | - uid: hv-ves-kafka-secret |
| 66 | externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}' |
| 67 | type: genericKV |
| 68 | envs: |
| 69 | - name: sasl.jaas.config |
| 70 | value: '{{ .Values.config.someConfig }}' |
| 71 | policy: generate |
| 72 | config: |
| 73 | someConfig: blah |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 74 | |
Remigiusz Janeczek | 9b00b56 | 2021-04-26 14:37:57 +0200 | [diff] [blame] | 75 | # CMPv2 certificate |
Remigiusz Janeczek | 7b09503 | 2021-05-20 19:39:44 +0200 | [diff] [blame] | 76 | # It is used only when: |
| 77 | # - certDirectory is set |
| 78 | # - global cmpv2Enabled flag is set to true |
Remigiusz Janeczek | 7b09503 | 2021-05-20 19:39:44 +0200 | [diff] [blame] | 79 | # - flag useCmpv2Certificates is set to true |
Piotr Marcinkiewicz | 7062518 | 2021-04-29 17:02:37 +0200 | [diff] [blame] | 80 | # Disabled by default |
Remigiusz Janeczek | 7b09503 | 2021-05-20 19:39:44 +0200 | [diff] [blame] | 81 | useCmpv2Certificates: false |
Remigiusz Janeczek | 9b00b56 | 2021-04-26 14:37:57 +0200 | [diff] [blame] | 82 | certificates: |
| 83 | - mountPath: /etc/ves-hv/ssl/external |
| 84 | commonName: dcae-hv-ves-collector |
| 85 | dnsNames: |
| 86 | - dcae-hv-ves-collector |
| 87 | - hv-ves-collector |
| 88 | - hv-ves |
| 89 | keystore: |
| 90 | outputType: |
| 91 | - jks |
| 92 | passwordSecretRef: |
| 93 | name: hv-ves-cmpv2-keystore-password |
| 94 | key: password |
| 95 | create: true |
| 96 | |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 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 | |
Andreas Geissler | 2d78742 | 2023-02-14 17:27:42 +0100 | [diff] [blame] | 106 | # since there are problems receiving binary data via the sidecar |
| 107 | # the service port is excluded in the sidecar processing |
| 108 | podAnnotations: |
| 109 | traffic.sidecar.istio.io/excludeInboundPorts: "6061" |
| 110 | traffic.sidecar.istio.io/includeInboundPorts: '*' |
| 111 | |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 112 | # service configuration |
| 113 | service: |
| 114 | type: NodePort |
| 115 | name: dcae-hv-ves-collector |
| 116 | ports: |
Andreas Geissler | 2d78742 | 2023-02-14 17:27:42 +0100 | [diff] [blame] | 117 | - name: tcp |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 118 | port: 6061 |
Andreas Geissler | 2d78742 | 2023-02-14 17:27:42 +0100 | [diff] [blame] | 119 | port_protocol: tcp |
| 120 | app_protocol: tcp |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 121 | nodePort: 22 |
| 122 | |
Andreas Geissler | 261763a | 2022-10-17 18:39:54 +0200 | [diff] [blame] | 123 | ingress: |
| 124 | enabled: false |
| 125 | service: |
| 126 | - baseaddr: "dcae-hv-ves-collector-api" |
| 127 | name: "dcae-hv-ves-collector" |
| 128 | port: 6061 |
| 129 | config: |
| 130 | ssl: "redirect" |
| 131 | |
efiacor | 26c1f7a | 2022-04-25 13:27:18 +0100 | [diff] [blame] | 132 | #strimzi kafka config |
| 133 | hvVesKafkaUser: dcae-hv-ves-kafka-user |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 134 | |
| 135 | # initial application configuration |
| 136 | applicationConfig: |
| 137 | logLevel: INFO |
| 138 | server.idleTimeoutSec: 300 |
| 139 | server.listenPort: 6061 |
| 140 | cbs.requestIntervalSec: 5 |
Andreas Geissler | b0841b8 | 2022-12-16 10:40:21 +0100 | [diff] [blame] | 141 | security.sslDisable: true |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 142 | security.keys.keyStoreFile: /etc/ves-hv/ssl/cert.jks |
| 143 | security.keys.keyStorePasswordFile: /etc/ves-hv/ssl/jks.pass |
| 144 | security.keys.trustStoreFile: /etc/ves-hv/ssl/trust.jks |
| 145 | security.keys.trustStorePasswordFile: /etc/ves-hv/ssl/trust.pass |
| 146 | streams_publishes: |
Tomasz Pietruszkiewicz | 773c5cb | 2021-03-31 07:35:03 +0200 | [diff] [blame] | 147 | ves-3gpp-fault-supervision: |
| 148 | type: kafka |
Tomasz Pietruszkiewicz | 773c5cb | 2021-03-31 07:35:03 +0200 | [diff] [blame] | 149 | kafka_info: |
efiacor | 26c1f7a | 2022-04-25 13:27:18 +0100 | [diff] [blame] | 150 | bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS} |
Tomasz Pietruszkiewicz | 773c5cb | 2021-03-31 07:35:03 +0200 | [diff] [blame] | 151 | topic_name: SEC_3GPP_FAULTSUPERVISION_OUTPUT |
| 152 | ves-3gpp-provisioning: |
| 153 | type: kafka |
Tomasz Pietruszkiewicz | 773c5cb | 2021-03-31 07:35:03 +0200 | [diff] [blame] | 154 | kafka_info: |
efiacor | 26c1f7a | 2022-04-25 13:27:18 +0100 | [diff] [blame] | 155 | bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS} |
Tomasz Pietruszkiewicz | 773c5cb | 2021-03-31 07:35:03 +0200 | [diff] [blame] | 156 | topic_name: SEC_3GPP_PROVISIONING_OUTPUT |
| 157 | ves-3gpp-heartbeat: |
| 158 | type: kafka |
Tomasz Pietruszkiewicz | 773c5cb | 2021-03-31 07:35:03 +0200 | [diff] [blame] | 159 | kafka_info: |
efiacor | 26c1f7a | 2022-04-25 13:27:18 +0100 | [diff] [blame] | 160 | bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS} |
Tomasz Pietruszkiewicz | 773c5cb | 2021-03-31 07:35:03 +0200 | [diff] [blame] | 161 | topic_name: SEC_3GPP_HEARTBEAT_OUTPUT |
| 162 | ves-3gpp-performance-assurance: |
| 163 | type: kafka |
Tomasz Pietruszkiewicz | 773c5cb | 2021-03-31 07:35:03 +0200 | [diff] [blame] | 164 | kafka_info: |
efiacor | 26c1f7a | 2022-04-25 13:27:18 +0100 | [diff] [blame] | 165 | bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS} |
Tomasz Pietruszkiewicz | 773c5cb | 2021-03-31 07:35:03 +0200 | [diff] [blame] | 166 | topic_name: SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 167 | perf3gpp: |
| 168 | type: kafka |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 169 | kafka_info: |
efiacor | 26c1f7a | 2022-04-25 13:27:18 +0100 | [diff] [blame] | 170 | bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS} |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 171 | topic_name: HV_VES_PERF3GPP |
| 172 | |
| 173 | applicationEnv: |
| 174 | JAVA_OPTS: '-Dlogback.configurationFile=/etc/ONAP/dcae-hv-ves-collector/logback.xml' |
Joanna Jeremicz | 616ea93 | 2021-09-06 14:25:04 +0200 | [diff] [blame] | 175 | CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml' |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 176 | #Temporary Dummy CBS Port Value until internal SDK library is updated |
| 177 | CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000' |
efiacor | 26c1f7a | 2022-04-25 13:27:18 +0100 | [diff] [blame] | 178 | KAFKA_BOOTSTRAP_SERVERS: '{{ include "common.release" . }}-strimzi-kafka-bootstrap:9092' |
| 179 | USE_SCRAM: 'true' |
| 180 | JAAS_CONFIG: |
| 181 | secretUid: hv-ves-kafka-secret |
| 182 | key: sasl.jaas.config |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 183 | |
| 184 | # Resource Limit flavor -By Default using small |
| 185 | flavor: small |
| 186 | # Segregation for Different environment (Small and Large) |
| 187 | resources: |
| 188 | small: |
| 189 | limits: |
| 190 | cpu: 2 |
| 191 | memory: 2Gi |
| 192 | requests: |
| 193 | cpu: 1 |
| 194 | memory: 1Gi |
| 195 | large: |
| 196 | limits: |
| 197 | cpu: 4 |
| 198 | memory: 4Gi |
| 199 | requests: |
| 200 | cpu: 2 |
| 201 | memory: 2Gi |
| 202 | unlimited: {} |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 203 | |
| 204 | #Pods Service Account |
| 205 | serviceAccount: |
| 206 | nameOverride: dcae-hv-ves-collector |
| 207 | roles: |
| 208 | - read |