blob: 9b943c4fccf1599902e2869928977bc2d248b4ea [file] [log] [blame]
Jack Lucasd41dbdb2021-02-16 11:07:28 -05001#============LICENSE_START========================================================
2# ================================================================================
3# Copyright (c) 2021 J. F. Lucas. All rights reserved.
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +02004# Copyright (c) 2021 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
25
26#################################################################
27# Filebeat configuration defaults.
28#################################################################
29filebeatConfig:
30 logstashServiceName: log-ls
31 logstashPort: 5044
32
33#################################################################
34# initContainer images.
35#################################################################
36tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040037consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020038certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.3.3
Jack Lucasd41dbdb2021-02-16 11:07:28 -050039
40#################################################################
41# Application configuration defaults.
42#################################################################
43# application image
Piotr Marcinkiewicz2fc60ca2021-07-07 09:17:03 +020044image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.9.0
Jack Lucasd41dbdb2021-02-16 11:07:28 -050045pullPolicy: Always
46
47# log directory where logging sidecar should look for log files
48# if absent, no sidecar will be deployed
49logDirectory: /var/log/ONAP/dcae-hv-ves-collector
50
51# directory where TLS certs should be stored
52# if absent, no certs will be retrieved and stored
53certDirectory: /etc/ves-hv/ssl
54
55# TLS role -- set to true if microservice acts as server
56# If true, an init container will retrieve a server cert
57# and key from AAF and mount them in certDirectory.
58tlsServer: true
59
60secrets:
61 - uid: &aafCredsUID aafcreds
62 type: basicAuth
63 login: '{{ .Values.aafCreds.user }}'
64 password: '{{ .Values.aafCreds.password }}'
65 passwordPolicy: required
66
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020067# CMPv2 certificate
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020068# It is used only when:
69# - certDirectory is set
70# - global cmpv2Enabled flag is set to true
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020071# - flag useCmpv2Certificates is set to true
Piotr Marcinkiewicz70625182021-04-29 17:02:37 +020072# Disabled by default
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020073useCmpv2Certificates: false
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020074certificates:
75 - mountPath: /etc/ves-hv/ssl/external
76 commonName: dcae-hv-ves-collector
77 dnsNames:
78 - dcae-hv-ves-collector
79 - hv-ves-collector
80 - hv-ves
81 keystore:
82 outputType:
83 - jks
84 passwordSecretRef:
85 name: hv-ves-cmpv2-keystore-password
86 key: password
87 create: true
88
Jack Lucasd41dbdb2021-02-16 11:07:28 -050089# dependencies
90readinessCheck:
91 wait_for:
92 - dcae-config-binding-service
93 - aaf-cm
94
95# probe configuration
96readiness:
97 type: exec
98 initialDelaySeconds: 5
99 periodSeconds: 15
100 timeoutSeconds: 2
101 command:
102 - /opt/ves-hv-collector/healthcheck.sh
103
104# service configuration
105service:
106 type: NodePort
107 name: dcae-hv-ves-collector
108 ports:
109 - name: http
110 port: 6061
111 port_protocol: http
112 nodePort: 22
113
114aafCreds:
115 user: admin
116 password: admin_secret
117
118credentials:
119- name: AAF_USER
120 uid: *aafCredsUID
121 key: login
122- name: AAF_PASSWORD
123 uid: *aafCredsUID
124 key: password
125
126# initial application configuration
127applicationConfig:
128 logLevel: INFO
129 server.idleTimeoutSec: 300
130 server.listenPort: 6061
131 cbs.requestIntervalSec: 5
132 security.sslDisable: false
133 security.keys.keyStoreFile: /etc/ves-hv/ssl/cert.jks
134 security.keys.keyStorePasswordFile: /etc/ves-hv/ssl/jks.pass
135 security.keys.trustStoreFile: /etc/ves-hv/ssl/trust.jks
136 security.keys.trustStorePasswordFile: /etc/ves-hv/ssl/trust.pass
137 streams_publishes:
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200138 ves-3gpp-fault-supervision:
139 type: kafka
140 aaf_credentials:
141 username: ${AAF_USER}
142 password: ${AAF_PASSWORD}
143 kafka_info:
144 bootstrap_servers: message-router-kafka:9092
145 topic_name: SEC_3GPP_FAULTSUPERVISION_OUTPUT
146 ves-3gpp-provisioning:
147 type: kafka
148 aaf_credentials:
149 username: ${AAF_USER}
150 password: ${AAF_PASSWORD}
151 kafka_info:
152 bootstrap_servers: message-router-kafka:9092
153 topic_name: SEC_3GPP_PROVISIONING_OUTPUT
154 ves-3gpp-heartbeat:
155 type: kafka
156 aaf_credentials:
157 username: ${AAF_USER}
158 password: ${AAF_PASSWORD}
159 kafka_info:
160 bootstrap_servers: message-router-kafka:9092
161 topic_name: SEC_3GPP_HEARTBEAT_OUTPUT
162 ves-3gpp-performance-assurance:
163 type: kafka
164 aaf_credentials:
165 username: ${AAF_USER}
166 password: ${AAF_PASSWORD}
167 kafka_info:
168 bootstrap_servers: message-router-kafka:9092
169 topic_name: SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500170 perf3gpp:
171 type: kafka
172 aaf_credentials:
173 username: ${AAF_USER}
174 password: ${AAF_PASSWORD}
175 kafka_info:
176 bootstrap_servers: message-router-kafka:9092
177 topic_name: HV_VES_PERF3GPP
178
179applicationEnv:
180 JAVA_OPTS: '-Dlogback.configurationFile=/etc/ONAP/dcae-hv-ves-collector/logback.xml'
181
182# Resource Limit flavor -By Default using small
183flavor: small
184# Segregation for Different environment (Small and Large)
185resources:
186 small:
187 limits:
188 cpu: 2
189 memory: 2Gi
190 requests:
191 cpu: 1
192 memory: 1Gi
193 large:
194 limits:
195 cpu: 4
196 memory: 4Gi
197 requests:
198 cpu: 2
199 memory: 2Gi
200 unlimited: {}