blob: 5d04aff9c87877c67b22a661cc743263d10641ee [file] [log] [blame]
Jack Lucasd41dbdb2021-02-16 11:07:28 -05001#============LICENSE_START========================================================
2# ================================================================================
Jack Lucasc9797322022-03-18 12:32:59 -04003# Copyright (c) 2021-2022 J. F. Lucas. All rights reserved.
Kasperki5e1d9782022-02-24 17:49:04 +01004# Copyright (c) 2021-2022 Nokia. All rights reserved.
efiacor26c1f7a2022-04-25 13:27:18 +01005# Copyright © 2022 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#################################################################
38tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Tomasz Wrobel1c39a902022-01-12 10:49:51 +010039certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.5.0
Jack Lucasd41dbdb2021-02-16 11:07:28 -050040
41#################################################################
42# Application configuration defaults.
43#################################################################
44# application image
Tomasz Wrobelf39c6402022-09-12 15:48:10 +020045image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.11.0
Jack Lucasd41dbdb2021-02-16 11:07:28 -050046pullPolicy: Always
47
48# log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010049# if path is set to null sidecar won't be deployed in spite of
50# global.centralizedLoggingEnabled setting.
51log:
52 path: /var/log/ONAP/dcae-hv-ves-collector
53logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
Jack Lucasd41dbdb2021-02-16 11:07:28 -050054
55# directory where TLS certs should be stored
56# if absent, no certs will be retrieved and stored
57certDirectory: /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.
rope2525a7fbee2022-07-25 20:00:36 +010062tlsServer: false
Jack Lucasd41dbdb2021-02-16 11:07:28 -050063
64secrets:
efiacor26c1f7a2022-04-25 13:27:18 +010065 - 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
72config:
73 someConfig: blah
Jack Lucasd41dbdb2021-02-16 11:07:28 -050074
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020075# CMPv2 certificate
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020076# It is used only when:
77# - certDirectory is set
78# - global cmpv2Enabled flag is set to true
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020079# - flag useCmpv2Certificates is set to true
Piotr Marcinkiewicz70625182021-04-29 17:02:37 +020080# Disabled by default
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020081useCmpv2Certificates: false
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020082certificates:
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 Lucasd41dbdb2021-02-16 11:07:28 -050097# dependencies
Jack Lucasd41dbdb2021-02-16 11:07:28 -050098
99# probe configuration
100readiness:
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
109service:
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
Andreas Geissler261763a2022-10-17 18:39:54 +0200118ingress:
119 enabled: false
120 service:
121 - baseaddr: "dcae-hv-ves-collector-api"
122 name: "dcae-hv-ves-collector"
123 port: 6061
124 config:
125 ssl: "redirect"
126
efiacor26c1f7a2022-04-25 13:27:18 +0100127#strimzi kafka config
128hvVesKafkaUser: dcae-hv-ves-kafka-user
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500129
130# initial application configuration
131applicationConfig:
132 logLevel: INFO
133 server.idleTimeoutSec: 300
134 server.listenPort: 6061
135 cbs.requestIntervalSec: 5
rope2525a7fbee2022-07-25 20:00:36 +0100136 security.sslDisable: true
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500137 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 Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200142 ves-3gpp-fault-supervision:
143 type: kafka
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200144 kafka_info:
efiacor26c1f7a2022-04-25 13:27:18 +0100145 bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS}
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200146 topic_name: SEC_3GPP_FAULTSUPERVISION_OUTPUT
147 ves-3gpp-provisioning:
148 type: kafka
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200149 kafka_info:
efiacor26c1f7a2022-04-25 13:27:18 +0100150 bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS}
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200151 topic_name: SEC_3GPP_PROVISIONING_OUTPUT
152 ves-3gpp-heartbeat:
153 type: kafka
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200154 kafka_info:
efiacor26c1f7a2022-04-25 13:27:18 +0100155 bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS}
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200156 topic_name: SEC_3GPP_HEARTBEAT_OUTPUT
157 ves-3gpp-performance-assurance:
158 type: kafka
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200159 kafka_info:
efiacor26c1f7a2022-04-25 13:27:18 +0100160 bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS}
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200161 topic_name: SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500162 perf3gpp:
163 type: kafka
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500164 kafka_info:
efiacor26c1f7a2022-04-25 13:27:18 +0100165 bootstrap_servers: ${KAFKA_BOOTSTRAP_SERVERS}
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500166 topic_name: HV_VES_PERF3GPP
167
168applicationEnv:
169 JAVA_OPTS: '-Dlogback.configurationFile=/etc/ONAP/dcae-hv-ves-collector/logback.xml'
Joanna Jeremicz616ea932021-09-06 14:25:04 +0200170 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
rope2525a7fbee2022-07-25 20:00:36 +0100171 #Temporary Dummy CBS Port Value until internal SDK library is updated
172 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
efiacor26c1f7a2022-04-25 13:27:18 +0100173 KAFKA_BOOTSTRAP_SERVERS: '{{ include "common.release" . }}-strimzi-kafka-bootstrap:9092'
174 USE_SCRAM: 'true'
175 JAAS_CONFIG:
176 secretUid: hv-ves-kafka-secret
177 key: sasl.jaas.config
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500178
179# Resource Limit flavor -By Default using small
180flavor: small
181# Segregation for Different environment (Small and Large)
182resources:
183 small:
184 limits:
185 cpu: 2
186 memory: 2Gi
187 requests:
188 cpu: 1
189 memory: 1Gi
190 large:
191 limits:
192 cpu: 4
193 memory: 4Gi
194 requests:
195 cpu: 2
196 memory: 2Gi
197 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200198
199#Pods Service Account
200serviceAccount:
201 nameOverride: dcae-hv-ves-collector
202 roles:
203 - read