blob: 223789a75fb457f8bd27bbba36e1714dbfa1ac2e [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
37consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.0
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
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +020044image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.8.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
71# - global CertManagerIntegration flag is set to true
72# - flag useCmpv2Certificates is set to true
Piotr Marcinkiewicz70625182021-04-29 17:02:37 +020073# Disabled by default
Remigiusz Janeczek7b095032021-05-20 19:39:44 +020074useCmpv2Certificates: false
Remigiusz Janeczek9b00b562021-04-26 14:37:57 +020075certificates:
76 - mountPath: /etc/ves-hv/ssl/external
77 commonName: dcae-hv-ves-collector
78 dnsNames:
79 - dcae-hv-ves-collector
80 - hv-ves-collector
81 - hv-ves
82 keystore:
83 outputType:
84 - jks
85 passwordSecretRef:
86 name: hv-ves-cmpv2-keystore-password
87 key: password
88 create: true
89
Jack Lucasd41dbdb2021-02-16 11:07:28 -050090# dependencies
91readinessCheck:
92 wait_for:
93 - dcae-config-binding-service
94 - aaf-cm
95
96# probe configuration
97readiness:
98 type: exec
99 initialDelaySeconds: 5
100 periodSeconds: 15
101 timeoutSeconds: 2
102 command:
103 - /opt/ves-hv-collector/healthcheck.sh
104
105# service configuration
106service:
107 type: NodePort
108 name: dcae-hv-ves-collector
109 ports:
110 - name: http
111 port: 6061
112 port_protocol: http
113 nodePort: 22
114
115aafCreds:
116 user: admin
117 password: admin_secret
118
119credentials:
120- name: AAF_USER
121 uid: *aafCredsUID
122 key: login
123- name: AAF_PASSWORD
124 uid: *aafCredsUID
125 key: password
126
127# initial application configuration
128applicationConfig:
129 logLevel: INFO
130 server.idleTimeoutSec: 300
131 server.listenPort: 6061
132 cbs.requestIntervalSec: 5
133 security.sslDisable: false
134 security.keys.keyStoreFile: /etc/ves-hv/ssl/cert.jks
135 security.keys.keyStorePasswordFile: /etc/ves-hv/ssl/jks.pass
136 security.keys.trustStoreFile: /etc/ves-hv/ssl/trust.jks
137 security.keys.trustStorePasswordFile: /etc/ves-hv/ssl/trust.pass
138 streams_publishes:
Tomasz Pietruszkiewicz773c5cb2021-03-31 07:35:03 +0200139 ves-3gpp-fault-supervision:
140 type: kafka
141 aaf_credentials:
142 username: ${AAF_USER}
143 password: ${AAF_PASSWORD}
144 kafka_info:
145 bootstrap_servers: message-router-kafka:9092
146 topic_name: SEC_3GPP_FAULTSUPERVISION_OUTPUT
147 ves-3gpp-provisioning:
148 type: kafka
149 aaf_credentials:
150 username: ${AAF_USER}
151 password: ${AAF_PASSWORD}
152 kafka_info:
153 bootstrap_servers: message-router-kafka:9092
154 topic_name: SEC_3GPP_PROVISIONING_OUTPUT
155 ves-3gpp-heartbeat:
156 type: kafka
157 aaf_credentials:
158 username: ${AAF_USER}
159 password: ${AAF_PASSWORD}
160 kafka_info:
161 bootstrap_servers: message-router-kafka:9092
162 topic_name: SEC_3GPP_HEARTBEAT_OUTPUT
163 ves-3gpp-performance-assurance:
164 type: kafka
165 aaf_credentials:
166 username: ${AAF_USER}
167 password: ${AAF_PASSWORD}
168 kafka_info:
169 bootstrap_servers: message-router-kafka:9092
170 topic_name: SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500171 perf3gpp:
172 type: kafka
173 aaf_credentials:
174 username: ${AAF_USER}
175 password: ${AAF_PASSWORD}
176 kafka_info:
177 bootstrap_servers: message-router-kafka:9092
178 topic_name: HV_VES_PERF3GPP
179
180applicationEnv:
181 JAVA_OPTS: '-Dlogback.configurationFile=/etc/ONAP/dcae-hv-ves-collector/logback.xml'
182
183# Resource Limit flavor -By Default using small
184flavor: small
185# Segregation for Different environment (Small and Large)
186resources:
187 small:
188 limits:
189 cpu: 2
190 memory: 2Gi
191 requests:
192 cpu: 1
193 memory: 1Gi
194 large:
195 limits:
196 cpu: 4
197 memory: 4Gi
198 requests:
199 cpu: 2
200 memory: 2Gi
201 unlimited: {}