[CDS] Update chart with service account
[oom.git] / kubernetes / dcaegen2-services / components / dcae-hv-ves-collector / values.yaml
1 #============LICENSE_START========================================================
2 # ================================================================================
3 # Copyright (c) 2021 J. F. Lucas. All rights reserved.
4 # Copyright (c) 2021 Nokia.  All rights reserved.
5 # ================================================================================
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 #################################################################
22 global:
23   nodePortPrefix: 302
24   nodePortPrefixExt: 304
25
26 #################################################################
27 # Filebeat configuration defaults.
28 #################################################################
29 filebeatConfig:
30   logstashServiceName: log-ls
31   logstashPort: 5044
32
33 #################################################################
34 # initContainer images.
35 #################################################################
36 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
37 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.0
38 certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.3.3
39
40 #################################################################
41 # Application configuration defaults.
42 #################################################################
43 # application image
44 image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.8.0
45 pullPolicy: Always
46
47 # log directory where logging sidecar should look for log files
48 # if absent, no sidecar will be deployed
49 logDirectory: /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
53 certDirectory: /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.
58 tlsServer: true
59
60 secrets:
61   - uid: &aafCredsUID aafcreds
62     type: basicAuth
63     login: '{{ .Values.aafCreds.user }}'
64     password: '{{ .Values.aafCreds.password }}'
65     passwordPolicy: required
66
67 # CMPv2 certificate
68 # 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
73 # Disabled by default
74 useCmpv2Certificates: false
75 certificates:
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
90 # dependencies
91 readinessCheck:
92   wait_for:
93     - dcae-config-binding-service
94     - aaf-cm
95
96 # probe configuration
97 readiness:
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
106 service:
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
115 aafCreds:
116   user: admin
117   password: admin_secret
118
119 credentials:
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
128 applicationConfig:
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:
139     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
171     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
180 applicationEnv:
181   JAVA_OPTS: '-Dlogback.configurationFile=/etc/ONAP/dcae-hv-ves-collector/logback.xml'
182
183 # Resource Limit flavor -By Default using small
184 flavor: small
185 # Segregation for Different environment (Small and Large)
186 resources:
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: {}