blob: 5a6283697c221eba3cdf0855c462bd7ef99c9c62 [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.
Jack Lucasd41dbdb2021-02-16 11:07:28 -05005# ================================================================================
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#################################################################
22global:
23 nodePortPrefix: 302
24 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010025 centralizedLoggingEnabled: true
Jack Lucasd41dbdb2021-02-16 11:07:28 -050026
27#################################################################
28# Filebeat configuration defaults.
29#################################################################
30filebeatConfig:
31 logstashServiceName: log-ls
32 logstashPort: 5044
33
34#################################################################
35# initContainer images.
36#################################################################
37tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
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
Kasperki5e1d9782022-02-24 17:49:04 +010044image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.10.0
Jack Lucasd41dbdb2021-02-16 11:07:28 -050045pullPolicy: Always
46
47# log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010048# if path is set to null sidecar won't be deployed in spite of
49# global.centralizedLoggingEnabled setting.
50log:
51 path: /var/log/ONAP/dcae-hv-ves-collector
52logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
Jack Lucasd41dbdb2021-02-16 11:07:28 -050053
54# directory where TLS certs should be stored
55# if absent, no certs will be retrieved and stored
56certDirectory: /etc/ves-hv/ssl
57
58# TLS role -- set to true if microservice acts as server
59# If true, an init container will retrieve a server cert
60# and key from AAF and mount them in certDirectory.
61tlsServer: true
62
63secrets:
64 - uid: &aafCredsUID aafcreds
65 type: basicAuth
66 login: '{{ .Values.aafCreds.user }}'
67 password: '{{ .Values.aafCreds.password }}'
68 passwordPolicy: required
69
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020070# CMPv2 certificate
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020071# It is used only when:
72# - certDirectory is set
73# - global cmpv2Enabled flag is set to true
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020074# - flag useCmpv2Certificates is set to true
Piotr Marcinkiewicz70625182021-04-29 17:02:37 +020075# Disabled by default
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020076useCmpv2Certificates: false
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020077certificates:
78 - mountPath: /etc/ves-hv/ssl/external
79 commonName: dcae-hv-ves-collector
80 dnsNames:
81 - dcae-hv-ves-collector
82 - hv-ves-collector
83 - hv-ves
84 keystore:
85 outputType:
86 - jks
87 passwordSecretRef:
88 name: hv-ves-cmpv2-keystore-password
89 key: password
90 create: true
91
Jack Lucasd41dbdb2021-02-16 11:07:28 -050092# dependencies
93readinessCheck:
94 wait_for:
Jack Lucasd41dbdb2021-02-16 11:07:28 -050095 - aaf-cm
96
97# probe configuration
98readiness:
99 type: exec
100 initialDelaySeconds: 5
101 periodSeconds: 15
102 timeoutSeconds: 2
103 command:
104 - /opt/ves-hv-collector/healthcheck.sh
105
106# service configuration
107service:
108 type: NodePort
109 name: dcae-hv-ves-collector
110 ports:
111 - name: http
112 port: 6061
113 port_protocol: http
114 nodePort: 22
115
116aafCreds:
117 user: admin
118 password: admin_secret
119
120credentials:
121- name: AAF_USER
122 uid: *aafCredsUID
123 key: login
124- name: AAF_PASSWORD
125 uid: *aafCredsUID
126 key: password
127
128# initial application configuration
129applicationConfig:
130 logLevel: INFO
131 server.idleTimeoutSec: 300
132 server.listenPort: 6061
133 cbs.requestIntervalSec: 5
134 security.sslDisable: false
135 security.keys.keyStoreFile: /etc/ves-hv/ssl/cert.jks
136 security.keys.keyStorePasswordFile: /etc/ves-hv/ssl/jks.pass
137 security.keys.trustStoreFile: /etc/ves-hv/ssl/trust.jks
138 security.keys.trustStorePasswordFile: /etc/ves-hv/ssl/trust.pass
139 streams_publishes:
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200140 ves-3gpp-fault-supervision:
141 type: kafka
142 aaf_credentials:
143 username: ${AAF_USER}
144 password: ${AAF_PASSWORD}
145 kafka_info:
146 bootstrap_servers: message-router-kafka:9092
147 topic_name: SEC_3GPP_FAULTSUPERVISION_OUTPUT
148 ves-3gpp-provisioning:
149 type: kafka
150 aaf_credentials:
151 username: ${AAF_USER}
152 password: ${AAF_PASSWORD}
153 kafka_info:
154 bootstrap_servers: message-router-kafka:9092
155 topic_name: SEC_3GPP_PROVISIONING_OUTPUT
156 ves-3gpp-heartbeat:
157 type: kafka
158 aaf_credentials:
159 username: ${AAF_USER}
160 password: ${AAF_PASSWORD}
161 kafka_info:
162 bootstrap_servers: message-router-kafka:9092
163 topic_name: SEC_3GPP_HEARTBEAT_OUTPUT
164 ves-3gpp-performance-assurance:
165 type: kafka
166 aaf_credentials:
167 username: ${AAF_USER}
168 password: ${AAF_PASSWORD}
169 kafka_info:
170 bootstrap_servers: message-router-kafka:9092
171 topic_name: SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500172 perf3gpp:
173 type: kafka
174 aaf_credentials:
175 username: ${AAF_USER}
176 password: ${AAF_PASSWORD}
177 kafka_info:
178 bootstrap_servers: message-router-kafka:9092
179 topic_name: HV_VES_PERF3GPP
180
181applicationEnv:
182 JAVA_OPTS: '-Dlogback.configurationFile=/etc/ONAP/dcae-hv-ves-collector/logback.xml'
Joanna Jeremicz616ea932021-09-06 14:25:04 +0200183 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500184
185# Resource Limit flavor -By Default using small
186flavor: small
187# Segregation for Different environment (Small and Large)
188resources:
189 small:
190 limits:
191 cpu: 2
192 memory: 2Gi
193 requests:
194 cpu: 1
195 memory: 1Gi
196 large:
197 limits:
198 cpu: 4
199 memory: 4Gi
200 requests:
201 cpu: 2
202 memory: 2Gi
203 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200204
205#Pods Service Account
206serviceAccount:
207 nameOverride: dcae-hv-ves-collector
208 roles:
209 - read