blob: 65a5d04d80127a9cef2effb15426524eb7ea5335 [file] [log] [blame]
Jack Lucasd41dbdb2021-02-16 11:07:28 -05001#============LICENSE_START========================================================
2# ================================================================================
3# Copyright (c) 2021 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
Jack Lucasd263e692021-08-16 16:02:23 -040038consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
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
Kasperki5e1d9782022-02-24 17:49:04 +010045image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.10.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.
62tlsServer: true
63
64secrets:
65 - uid: &aafCredsUID aafcreds
66 type: basicAuth
67 login: '{{ .Values.aafCreds.user }}'
68 password: '{{ .Values.aafCreds.password }}'
69 passwordPolicy: required
70
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020071# CMPv2 certificate
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020072# It is used only when:
73# - certDirectory is set
74# - global cmpv2Enabled flag is set to true
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020075# - flag useCmpv2Certificates is set to true
Piotr Marcinkiewicz70625182021-04-29 17:02:37 +020076# Disabled by default
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020077useCmpv2Certificates: false
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020078certificates:
79 - mountPath: /etc/ves-hv/ssl/external
80 commonName: dcae-hv-ves-collector
81 dnsNames:
82 - dcae-hv-ves-collector
83 - hv-ves-collector
84 - hv-ves
85 keystore:
86 outputType:
87 - jks
88 passwordSecretRef:
89 name: hv-ves-cmpv2-keystore-password
90 key: password
91 create: true
92
Jack Lucasd41dbdb2021-02-16 11:07:28 -050093# dependencies
94readinessCheck:
95 wait_for:
96 - dcae-config-binding-service
97 - aaf-cm
98
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
118aafCreds:
119 user: admin
120 password: admin_secret
121
122credentials:
123- name: AAF_USER
124 uid: *aafCredsUID
125 key: login
126- name: AAF_PASSWORD
127 uid: *aafCredsUID
128 key: password
129
130# initial application configuration
131applicationConfig:
132 logLevel: INFO
133 server.idleTimeoutSec: 300
134 server.listenPort: 6061
135 cbs.requestIntervalSec: 5
136 security.sslDisable: false
137 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
144 aaf_credentials:
145 username: ${AAF_USER}
146 password: ${AAF_PASSWORD}
147 kafka_info:
148 bootstrap_servers: message-router-kafka:9092
149 topic_name: SEC_3GPP_FAULTSUPERVISION_OUTPUT
150 ves-3gpp-provisioning:
151 type: kafka
152 aaf_credentials:
153 username: ${AAF_USER}
154 password: ${AAF_PASSWORD}
155 kafka_info:
156 bootstrap_servers: message-router-kafka:9092
157 topic_name: SEC_3GPP_PROVISIONING_OUTPUT
158 ves-3gpp-heartbeat:
159 type: kafka
160 aaf_credentials:
161 username: ${AAF_USER}
162 password: ${AAF_PASSWORD}
163 kafka_info:
164 bootstrap_servers: message-router-kafka:9092
165 topic_name: SEC_3GPP_HEARTBEAT_OUTPUT
166 ves-3gpp-performance-assurance:
167 type: kafka
168 aaf_credentials:
169 username: ${AAF_USER}
170 password: ${AAF_PASSWORD}
171 kafka_info:
172 bootstrap_servers: message-router-kafka:9092
173 topic_name: SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500174 perf3gpp:
175 type: kafka
176 aaf_credentials:
177 username: ${AAF_USER}
178 password: ${AAF_PASSWORD}
179 kafka_info:
180 bootstrap_servers: message-router-kafka:9092
181 topic_name: HV_VES_PERF3GPP
182
183applicationEnv:
184 JAVA_OPTS: '-Dlogback.configurationFile=/etc/ONAP/dcae-hv-ves-collector/logback.xml'
Joanna Jeremicz616ea932021-09-06 14:25:04 +0200185 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500186
187# Resource Limit flavor -By Default using small
188flavor: small
189# Segregation for Different environment (Small and Large)
190resources:
191 small:
192 limits:
193 cpu: 2
194 memory: 2Gi
195 requests:
196 cpu: 1
197 memory: 1Gi
198 large:
199 limits:
200 cpu: 4
201 memory: 4Gi
202 requests:
203 cpu: 2
204 memory: 2Gi
205 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200206
207#Pods Service Account
208serviceAccount:
209 nameOverride: dcae-hv-ves-collector
210 roles:
211 - read