[DCAEGEN2] Deploy DCAE microservices via Helm
[oom.git] / kubernetes / onap / values.yaml
1 # Copyright © 2019 Amdocs, Bell Canada
2 # Copyright (c) 2020 Nordix Foundation, Modifications
3 # Modifications Copyright © 2020-2021 Nokia
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16
17 #################################################################
18 # Global configuration overrides.
19 #
20 # These overrides will affect all helm charts (ie. applications)
21 # that are listed below and are 'enabled'.
22 #################################################################
23 global:
24   # Change to an unused port prefix range to prevent port conflicts
25   # with other instances running within the same k8s cluster
26   nodePortPrefix: 302
27   nodePortPrefixExt: 304
28
29
30   # Install test components
31   # test components are out of the scope of ONAP but allow to have a entire
32   # environment to test the different features of ONAP
33   # Current tests environments provided:
34   #  - netbox (needed for CDS IPAM)
35   #  - AWX (needed for XXX)
36   #  - EJBCA Server (needed for CMPv2 tests)
37   # Today, "contrib" chart that hosting these components must also be enabled
38   # in order to make it work. So `contrib.enabled` must have the same value than
39   # addTestingComponents
40   addTestingComponents: &testing false
41
42   # ONAP Repository
43   # Four different repositories are used
44   # You can change individually these repositories to ones that will serve the
45   # right images. If credentials are needed for one of them, see below.
46   repository: nexus3.onap.org:10001
47   dockerHubRepository: &dockerHubRepository docker.io
48   elasticRepository: &elasticRepository docker.elastic.co
49   googleK8sRepository: k8s.gcr.io
50
51
52   #/!\ DEPRECATED /!\
53   # Legacy repositories which will be removed at the end of migration.
54   # Please don't use
55   loggingRepository: *elasticRepository
56   busyboxRepository: *dockerHubRepository
57
58   # Default credentials
59   # they're optional. If the target repository doesn't need them, comment them
60   repositoryCred:
61     user: docker
62     password: docker
63   # If you want / need authentication on the repositories, please set
64   # Don't set them if the target repo is the same than others
65   # so id you've set repository to value `my.private.repo` and same for
66   # dockerHubRepository, you'll have to configure only repository (exclusive) OR
67   # dockerHubCred.
68   # dockerHubCred:
69   #   user: myuser
70   #   password: mypassord
71   # elasticCred:
72   #   user: myuser
73   #   password: mypassord
74   # googleK8sCred:
75   #   user: myuser
76   #   password: mypassord
77
78
79   # common global images
80   # Busybox for simple shell manipulation
81   busyboxImage: busybox:1.32
82
83   # curl image
84   curlImage: curlimages/curl:7.69.1
85
86   # env substitution image
87   envsubstImage: dibi/envsubst:1
88
89   # generate htpasswd files image
90   # there's only latest image for htpasswd
91   htpasswdImage: xmartlabs/htpasswd:latest
92
93   # kubenretes client image
94   kubectlImage: bitnami/kubectl:1.19
95
96   # logging agent
97   loggingImage: beats/filebeat:5.5.0
98
99   # mariadb client image
100   mariadbImage: bitnami/mariadb:10.5.8
101
102   # nginx server image
103   nginxImage: bitnami/nginx:1.18-debian-10
104
105   # postgreSQL client and server image
106   postgresImage: crunchydata/crunchy-postgres:centos7-10.11-4.2.1
107
108   # readiness check image
109   readinessImage: onap/oom/readiness:3.0.1
110
111   # image pull policy
112   pullPolicy: Always
113
114   # default java image
115   jreImage: onap/integration-java11:7.2.0
116
117   # default clusterName
118   # {{ template "common.fullname" . }}.{{ template "common.namespace" . }}.svc.{{ .Values.global.clusterName }}
119   clusterName: cluster.local
120
121   # default mount path root directory referenced
122   # by persistent volumes and log files
123   persistence:
124     mountPath: /dockerdata-nfs
125     enableDefaultStorageclass: false
126     parameters: {}
127     storageclassProvisioner: kubernetes.io/no-provisioner
128     volumeReclaimPolicy: Retain
129
130   # override default resource limit flavor for all charts
131   flavor: unlimited
132
133   # flag to enable debugging - application support required
134   debugEnabled: false
135
136   # default password complexity
137   # available options: phrase, name, pin, basic, short, medium, long, maximum security
138   # More datails: https://masterpassword.app/masterpassword-algorithm.pdf
139   passwordStrength: long
140
141   # configuration to set log level to all components (the one that are using
142   # "common.log.level" to set this)
143   # can be overrided per components by setting logConfiguration.logLevelOverride
144   # to the desired value
145   # logLevel: DEBUG
146
147   # Global ingress configuration
148   ingress:
149     enabled: false
150     virtualhost:
151       baseurl: "simpledemo.onap.org"
152
153   # Global Service Mesh configuration
154   # POC Mode, don't use it in production
155   serviceMesh:
156     enabled: false
157     tls: true
158
159   # metrics part
160   # If enabled, exporters (for prometheus) will be deployed
161   # if custom resources set to yes, CRD from prometheus operartor will be
162   # created
163   # Not all components have it enabled.
164   #
165   metrics:
166     enabled: true
167     custom_resources: false
168
169   # Disabling AAF
170   # POC Mode, only for use in development environment
171   # Keep it enabled in production
172   aafEnabled: true
173   aafAgentImage: onap/aaf/aaf_agent:2.1.20
174
175   # Disabling MSB
176   # POC Mode, only for use in development environment
177   msbEnabled: true
178
179   # default values for certificates
180   certificate:
181     default:
182       renewBefore: 720h #30 days
183       duration:    8760h #365 days
184       subject:
185         organization: "Linux-Foundation"
186         country: "US"
187         locality: "San-Francisco"
188         province: "California"
189         organizationalUnit: "ONAP"
190       issuer:
191         group: certmanager.onap.org
192         kind: CMPv2Issuer
193         name: cmpv2-issuer-onap
194
195   # Enabling CMPv2
196   cmpv2Enabled: true
197   CMPv2CertManagerIntegration: false
198   platform:
199     certServiceClient:
200       image: onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.3.3
201       secret:
202         name: oom-cert-service-client-tls-secret
203         mountPath: /etc/onap/oom/certservice/certs/
204       envVariables:
205         certPath: "/var/custom-certs"
206         # Certificate related
207         cmpv2Organization: "Linux-Foundation"
208         cmpv2OrganizationalUnit: "ONAP"
209         cmpv2Location: "San-Francisco"
210         cmpv2State: "California"
211         cmpv2Country: "US"
212         # Client configuration related
213         caName: "RA"
214         requestURL: "https://oom-cert-service:8443/v1/certificate/"
215         requestTimeout: "30000"
216         keystorePath: "/etc/onap/oom/certservice/certs/certServiceClient-keystore.jks"
217         outputType: "P12"
218         keystorePassword: "secret"
219         truststorePath: "/etc/onap/oom/certservice/certs/truststore.jks"
220         truststorePassword: "secret"
221
222   # Indicates offline deployment build
223   # Set to true if you are rendering helm charts for offline deployment
224   # Otherwise keep it disabled
225   offlineDeploymentBuild: false
226
227   # TLS
228   # Set to false if you want to disable TLS for NodePorts. Be aware that this
229   # will loosen your security.
230   # if set this element will force or not tls even if serviceMesh.tls is set.
231   # tlsEnabled: false
232
233   # Logging
234   # Currently, centralized logging is not in best shape so it's disabled by
235   # default
236   centralizedLoggingEnabled: &centralizedLogging false
237
238   # Example of specific for the components where you want to disable TLS only for
239   # it:
240   # if set this element will force or not tls even if global.serviceMesh.tls and
241   # global.tlsEnabled is set otherwise.
242   # robot:
243   #   tlsOverride: false
244
245   # Global storage configuration
246   #    Set to "-" for default, or with the name of the storage class
247   #    Please note that if you use AAF, CDS, SDC, Netbox or Robot, you need a
248   #    storageclass with RWX capabilities (or set specific configuration for these
249   #    components).
250   # persistence:
251   #   storageClass: "-"
252
253 # Example of specific for the components which requires RWX:
254 # aaf:
255 #   persistence:
256 #     storageClassOverride: "My_RWX_Storage_Class"
257 # contrib:
258 #   netbox:
259 #     netbox-app:
260 #       persistence:
261 #         storageClassOverride: "My_RWX_Storage_Class"
262 # cds:
263 #   cds-blueprints-processor:
264 #     persistence:
265 #       storageClassOverride: "My_RWX_Storage_Class"
266 # sdc:
267 #   sdc-onboarding-be:
268 #     persistence:
269 #       storageClassOverride: "My_RWX_Storage_Class"
270
271 #################################################################
272 # Enable/disable and configure helm charts (ie. applications)
273 # to customize the ONAP deployment.
274 #################################################################
275 aaf:
276   enabled: false
277 aai:
278   enabled: false
279 appc:
280   enabled: false
281   config:
282     openStackType: OpenStackProvider
283     openStackName: OpenStack
284     openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
285     openStackServiceTenantName: default
286     openStackDomain: default
287     openStackUserName: admin
288     openStackEncryptedPassword: admin
289 cassandra:
290   enabled: false
291 cds:
292   enabled: false
293 clamp:
294   enabled: false
295 cli:
296   enabled: false
297 consul:
298   enabled: false
299 # Today, "contrib" chart that hosting these components must also be enabled
300 # in order to make it work. So `contrib.enabled` must have the same value than
301 # addTestingComponents
302 contrib:
303   enabled: *testing
304 cps:
305   enabled: false
306 dcaegen2:
307   enabled: false
308 dcaegen2-services:
309   enabled: false
310 dcaemod:
311   enabled: false
312 dmaap:
313   enabled: false
314 esr:
315   enabled: false
316 # Today, "logging" chart that perform the central part of logging must also be
317 # enabled in order to make it work. So `logging.enabled` must have the same
318 # value than centralizedLoggingEnabled
319 log:
320   enabled: *centralizedLogging
321 sniro-emulator:
322   enabled: false
323 oof:
324   enabled: false
325 mariadb-galera:
326   enabled: false
327 msb:
328   enabled: false
329 multicloud:
330   enabled: false
331 nbi:
332   enabled: false
333   config:
334     # openstack configuration
335     openStackRegion: "Yolo"
336     openStackVNFTenantId: "1234"
337 policy:
338   enabled: false
339 pomba:
340   enabled: false
341 portal:
342   enabled: false
343 robot:
344   enabled: false
345   config:
346     # openStackEncryptedPasswordHere should match the encrypted string used in SO and APPC and overridden per environment
347     openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
348 sdc:
349   enabled: false
350 sdnc:
351   enabled: false
352
353   replicaCount: 1
354
355   mysql:
356     replicaCount: 1
357 so:
358   enabled: false
359
360   replicaCount: 1
361
362   liveness:
363     # necessary to disable liveness probe when setting breakpoints
364     # in debugger so K8s doesn't restart unresponsive container
365     enabled: false
366
367   # so server configuration
368   config:
369     # message router configuration
370     dmaapTopic: "AUTO"
371     # openstack configuration
372     openStackUserName: "vnf_user"
373     openStackRegion: "RegionOne"
374     openStackKeyStoneUrl: "http://1.2.3.4:5000"
375     openStackServiceTenantName: "service"
376     openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
377
378   # in order to enable static password for so-monitoring uncomment:
379   # so-monitoring:
380   #   server:
381   #     monitoring:
382   #       password: demo123456!
383 uui:
384   enabled: false
385 vfc:
386   enabled: false
387 vid:
388   enabled: false
389 vnfsdk:
390   enabled: false
391 modeling:
392   enabled: false
393 platform:
394   enabled: false
395 a1policymanagement:
396   enabled: false
397
398 cert-wrapper:
399   enabled: true
400 repository-wrapper:
401   enabled: true