blob: ab6d3f247ce9554d217b20a57d2839b222386901 [file] [log] [blame]
Jack Lucasd41dbdb2021-02-16 11:07:28 -05001#============LICENSE_START========================================================
2# ================================================================================
Jack Lucas64da4e72023-03-03 14:46:05 -05003# Copyright (c) 2021-2023 J. F. Lucas. All rights reserved.
Kasperki5e1d9782022-02-24 17:49:04 +01004# Copyright (c) 2021-2022 Nokia. All rights reserved.
efiacor5c0678f2023-03-06 09:21:57 +00005# Modifications Copyright (C) 2022-2023 Nordix Foundation.
Jack Lucasd41dbdb2021-02-16 11:07:28 -05006# ================================================================================
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#################################################################
23global:
24 nodePortPrefix: 302
25 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010026 centralizedLoggingEnabled: true
Jack Lucasd41dbdb2021-02-16 11:07:28 -050027
28#################################################################
29# Filebeat configuration defaults.
30#################################################################
31filebeatConfig:
32 logstashServiceName: log-ls
33 logstashPort: 5044
34
35#################################################################
36# initContainer images.
37#################################################################
Tomasz Wrobel1c39a902022-01-12 10:49:51 +010038certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.5.0
Jack Lucasd41dbdb2021-02-16 11:07:28 -050039
40#################################################################
41# Application configuration defaults.
42#################################################################
43# application image
Tomasz Wrobelf39c6402022-09-12 15:48:10 +020044image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.11.0
Jack Lucasd41dbdb2021-02-16 11:07:28 -050045pullPolicy: Always
46
efiacor5c0678f2023-03-06 09:21:57 +000047commonName: &commonName dcae-hv-ves-collector
48containerPort: &containerPort 6061
49
Jack Lucasd41dbdb2021-02-16 11:07:28 -050050# log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010051# if path is set to null sidecar won't be deployed in spite of
52# global.centralizedLoggingEnabled setting.
53log:
54 path: /var/log/ONAP/dcae-hv-ves-collector
55logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
Jack Lucasd41dbdb2021-02-16 11:07:28 -050056
57# directory where TLS certs should be stored
58# if absent, no certs will be retrieved and stored
59certDirectory: /etc/ves-hv/ssl
60
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020061# CMPv2 certificate
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020062# It is used only when:
63# - certDirectory is set
64# - global cmpv2Enabled flag is set to true
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020065# - flag useCmpv2Certificates is set to true
Piotr Marcinkiewicz70625182021-04-29 17:02:37 +020066# Disabled by default
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020067useCmpv2Certificates: false
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020068certificates:
69 - mountPath: /etc/ves-hv/ssl/external
efiacor5c0678f2023-03-06 09:21:57 +000070 commonName: *commonName
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020071 dnsNames:
efiacor5c0678f2023-03-06 09:21:57 +000072 - *commonName
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020073 - hv-ves-collector
74 - hv-ves
75 keystore:
76 outputType:
77 - jks
78 passwordSecretRef:
79 name: hv-ves-cmpv2-keystore-password
80 key: password
81 create: true
82
Jack Lucasd41dbdb2021-02-16 11:07:28 -050083# probe configuration
84readiness:
85 type: exec
86 initialDelaySeconds: 5
87 periodSeconds: 15
88 timeoutSeconds: 2
89 command:
90 - /opt/ves-hv-collector/healthcheck.sh
91
Andreas Geissler2d787422023-02-14 17:27:42 +010092# since there are problems receiving binary data via the sidecar
93# the service port is excluded in the sidecar processing
94podAnnotations:
efiacor5c0678f2023-03-06 09:21:57 +000095 traffic.sidecar.istio.io/excludeInboundPorts: '6061'
Andreas Geissler2d787422023-02-14 17:27:42 +010096 traffic.sidecar.istio.io/includeInboundPorts: '*'
97
Jack Lucasd41dbdb2021-02-16 11:07:28 -050098# service configuration
99service:
100 type: NodePort
efiacor5c0678f2023-03-06 09:21:57 +0000101 name: *commonName
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500102 ports:
Andreas Geissler2d787422023-02-14 17:27:42 +0100103 - name: tcp
efiacor5c0678f2023-03-06 09:21:57 +0000104 port: *containerPort
Andreas Geissler2d787422023-02-14 17:27:42 +0100105 port_protocol: tcp
106 app_protocol: tcp
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500107 nodePort: 22
108
Andreas Geissler261763a2022-10-17 18:39:54 +0200109ingress:
110 enabled: false
111 service:
112 - baseaddr: "dcae-hv-ves-collector-api"
efiacor5c0678f2023-03-06 09:21:57 +0000113 name: *commonName
114 port: *containerPort
Andreas Geissler261763a2022-10-17 18:39:54 +0200115 config:
116 ssl: "redirect"
117
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500118# initial application configuration
119applicationConfig:
120 logLevel: INFO
121 server.idleTimeoutSec: 300
efiacor5c0678f2023-03-06 09:21:57 +0000122 server.listenPort: *containerPort
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500123 cbs.requestIntervalSec: 5
Andreas Geisslerb0841b82022-12-16 10:40:21 +0100124 security.sslDisable: true
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500125 security.keys.keyStoreFile: /etc/ves-hv/ssl/cert.jks
126 security.keys.keyStorePasswordFile: /etc/ves-hv/ssl/jks.pass
127 security.keys.trustStoreFile: /etc/ves-hv/ssl/trust.jks
128 security.keys.trustStorePasswordFile: /etc/ves-hv/ssl/trust.pass
129 streams_publishes:
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200130 ves-3gpp-fault-supervision:
efiacor5c0678f2023-03-06 09:21:57 +0000131 type: ${MESSAGING_TYPE}
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200132 kafka_info:
efiacor26c1f7a2022-04-25 13:27:18 +0100133 bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS}
efiacor5c0678f2023-03-06 09:21:57 +0000134 topic_name: &ves3gppFaultSupervision SEC_3GPP_FAULTSUPERVISION_OUTPUT
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200135 ves-3gpp-provisioning:
efiacor5c0678f2023-03-06 09:21:57 +0000136 type: ${MESSAGING_TYPE}
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200137 kafka_info:
efiacor26c1f7a2022-04-25 13:27:18 +0100138 bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS}
efiacor5c0678f2023-03-06 09:21:57 +0000139 topic_name: &ves3gppProvisioning SEC_3GPP_PROVISIONING_OUTPUT
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200140 ves-3gpp-heartbeat:
efiacor5c0678f2023-03-06 09:21:57 +0000141 type: ${MESSAGING_TYPE}
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200142 kafka_info:
efiacor26c1f7a2022-04-25 13:27:18 +0100143 bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS}
efiacor5c0678f2023-03-06 09:21:57 +0000144 topic_name: &ves3gppHeartbeat SEC_3GPP_HEARTBEAT_OUTPUT
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200145 ves-3gpp-performance-assurance:
efiacor5c0678f2023-03-06 09:21:57 +0000146 type: ${MESSAGING_TYPE}
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200147 kafka_info:
efiacor26c1f7a2022-04-25 13:27:18 +0100148 bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS}
efiacor5c0678f2023-03-06 09:21:57 +0000149 topic_name: &ves3gppPerformanceAssurance SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500150 perf3gpp:
efiacor5c0678f2023-03-06 09:21:57 +0000151 type: ${MESSAGING_TYPE}
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500152 kafka_info:
efiacor26c1f7a2022-04-25 13:27:18 +0100153 bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS}
efiacor5c0678f2023-03-06 09:21:57 +0000154 topic_name: &perf3gpp HV_VES_PERF3GPP
155
156# Strimzi Kafka config
157kafkaUser:
158 acls:
159 - name: SEC_3GPP
160 type: topic
161 patternType: prefix
162 operations: [Write, DescribeConfigs]
163 - name: *perf3gpp
164 type: topic
165 operations: [Write, DescribeConfigs]
166
167kafkaTopic:
168 - name: *ves3gppFaultSupervision
169 strimziTopicName: dcae-ves-3gpp-fault-supervision
170 # the default retention values below can be updated
171 # to meet use case requirements for each topic.
172 retentionMs: 7200000
173 segmentBytes: 1073741824
174 - name: *ves3gppProvisioning
175 strimziTopicName: dcae-ves-3gpp-provisioning
176 - name: *ves3gppHeartbeat
177 strimziTopicName: dcae-ves-3gpp-heartbeat
178 - name: *ves3gppPerformanceAssurance
179 strimziTopicName: dcae-ves-3gpp-performance-assurance
180 - name: *perf3gpp
181 strimziTopicName: dcae-ves-3gpp-perf
182
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500183
184applicationEnv:
185 JAVA_OPTS: '-Dlogback.configurationFile=/etc/ONAP/dcae-hv-ves-collector/logback.xml'
Joanna Jeremicz616ea932021-09-06 14:25:04 +0200186 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
rope2525a7fbee2022-07-25 20:00:36 +0100187 #Temporary Dummy CBS Port Value until internal SDK library is updated
188 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
efiacor5c0678f2023-03-06 09:21:57 +0000189 MESSAGING_TYPE: 'kafka'
efiacor26c1f7a2022-04-25 13:27:18 +0100190 KAFKA_BOOTSTRAP_SERVERS: '{{ include "common.release" . }}-strimzi-kafka-bootstrap:9092'
191 USE_SCRAM: 'true'
192 JAAS_CONFIG:
efiacor5c0678f2023-03-06 09:21:57 +0000193 externalSecret: true
194 externalSecretUid: '{{ include "common.name" . }}-ku'
efiacor26c1f7a2022-04-25 13:27:18 +0100195 key: sasl.jaas.config
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500196
197# Resource Limit flavor -By Default using small
198flavor: small
199# Segregation for Different environment (Small and Large)
200resources:
201 small:
202 limits:
203 cpu: 2
204 memory: 2Gi
205 requests:
206 cpu: 1
207 memory: 1Gi
208 large:
209 limits:
210 cpu: 4
211 memory: 4Gi
212 requests:
213 cpu: 2
214 memory: 2Gi
215 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200216
217#Pods Service Account
218serviceAccount:
efiacor5c0678f2023-03-06 09:21:57 +0000219 nameOverride: *commonName
farida azmycb03ac72021-09-12 16:14:12 +0200220 roles:
221 - read