a8b44e3773771c2002113cd71942881288d643cd
[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 # Modifications Copyright © 2023 Nordix Foundation
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
18 #################################################################
19 # Global configuration overrides.
20 #
21 # These overrides will affect all helm charts (ie. applications)
22 # that are listed below and are 'enabled'.
23 #################################################################
24 global:
25   # Change to an unused port prefix range to prevent port conflicts
26   # with other instances running within the same k8s cluster
27   nodePortPrefix: 302
28   nodePortPrefixExt: 304
29
30
31   # Install test components
32   # test components are out of the scope of ONAP but allow to have a entire
33   # environment to test the different features of ONAP
34   # Current tests environments provided:
35   #  - netbox (needed for CDS IPAM)
36   #  - AWX (needed for XXX)
37   #  - EJBCA Server (needed for CMPv2 tests)
38   # Today, "contrib" chart that hosting these components must also be enabled
39   # in order to make it work. So `contrib.enabled` must have the same value than
40   # addTestingComponents
41   addTestingComponents: &testing false
42
43   # ONAP Repository
44   # Four different repositories are used
45   # You can change individually these repositories to ones that will serve the
46   # right images. If credentials are needed for one of them, see below.
47   repository: nexus3.onap.org:10001
48   dockerHubRepository: &dockerHubRepository docker.io
49   elasticRepository: &elasticRepository docker.elastic.co
50   quayRepository: quay.io
51   googleK8sRepository: k8s.gcr.io
52   githubContainerRegistry: ghcr.io
53
54   #/!\ DEPRECATED /!\
55   # Legacy repositories which will be removed at the end of migration.
56   # Please don't use
57   loggingRepository: *elasticRepository
58   busyboxRepository: *dockerHubRepository
59
60   # Default credentials
61   # they're optional. If the target repository doesn't need them, comment them
62   repositoryCred:
63     user: docker
64     password: docker
65   # If you want / need authentication on the repositories, please set
66   # Don't set them if the target repo is the same than others
67   # so id you've set repository to value `my.private.repo` and same for
68   # dockerHubRepository, you'll have to configure only repository (exclusive) OR
69   # dockerHubCred.
70   # dockerHubCred:
71   #   user: myuser
72   #   password: mypassord
73   # elasticCred:
74   #   user: myuser
75   #   password: mypassord
76   # googleK8sCred:
77   #   user: myuser
78   #   password: mypassord
79
80
81   # common global images
82   # Busybox for simple shell manipulation
83   busyboxImage: busybox:1.34.1
84
85   # curl image
86   curlImage: curlimages/curl:7.80.0
87
88   # env substitution image
89   envsubstImage: dibi/envsubst:1
90
91   # generate htpasswd files image
92   # there's only latest image for htpasswd
93   htpasswdImage: xmartlabs/htpasswd:latest
94
95   # kubenretes client image
96   kubectlImage: bitnami/kubectl:1.22.4
97
98   # logging agent
99   loggingImage: beats/filebeat:5.5.0
100
101   # mariadb client image
102   mariadbImage: bitnami/mariadb:10.5.8
103
104   # nginx server image
105   nginxImage: bitnami/nginx:1.21.4
106
107   # postgreSQL client and server image
108   postgresImage: crunchydata/crunchy-postgres:centos8-13.2-4.6.1
109
110   # readiness check image
111   readinessImage: onap/oom/readiness:3.0.1
112
113   # image pull policy
114   pullPolicy: Always
115
116   # default java image
117   jreImage: onap/integration-java11:10.0.0
118
119   # default clusterName
120   # {{ template "common.fullname" . }}.{{ template "common.namespace" . }}.svc.{{ .Values.global.clusterName }}
121   clusterName: cluster.local
122
123   # default mount path root directory referenced
124   # by persistent volumes and log files
125   persistence:
126     mountPath: /dockerdata-nfs
127     enableDefaultStorageclass: false
128     parameters: {}
129     storageclassProvisioner: kubernetes.io/no-provisioner
130     volumeReclaimPolicy: Retain
131
132   # override default resource limit flavor for all charts
133   flavor: unlimited
134
135   # flag to enable debugging - application support required
136   debugEnabled: false
137
138   # default password complexity
139   # available options: phrase, name, pin, basic, short, medium, long, maximum security
140   # More datails: https://www.masterpasswordapp.com/masterpassword-algorithm.pdf
141   passwordStrength: long
142
143   # configuration to set log level to all components (the one that are using
144   # "common.log.level" to set this)
145   # can be overrided per components by setting logConfiguration.logLevelOverride
146   # to the desired value
147   # logLevel: DEBUG
148
149   # Global ingress configuration
150   ingress:
151     # generally enable ingress for ONAP components
152     enabled: false
153     # enable all component's Ingress interfaces
154     enable_all: false
155
156     # default Ingress base URL and preAddr- and postAddr settings
157     # Ingress URLs result:
158     # <preaddr><component.ingress.service.baseaddr><postaddr>.<baseurl>
159     virtualhost:
160       # Default Ingress base URL
161       # can be overwritten in component by setting ingress.baseurlOverride
162       baseurl: "simpledemo.onap.org"
163       # prefix for baseaddr
164       # can be overwritten in component by setting ingress.preaddrOverride
165       preaddr: ""
166       # postfix for baseaddr
167       # can be overwritten in component by setting ingress.postaddrOverride
168       postaddr: ""
169
170     # All http (port 80) requests via ingress will be redirected
171     # to port 443 on Ingress controller
172     # only valid for Istio Gateway (ServiceMesh enabled)
173     config:
174       ssl: "redirect"
175     # you can set an own Secret containing a certificate
176     # only valid for Istio Gateway (ServiceMesh enabled)
177     #  tls:
178     #    secret: 'my-ingress-cert'
179
180     # optional: Namespace of the Istio IngressGateway
181     # only valid for Istio Gateway (ServiceMesh enabled)
182     namespace: istio-ingress
183
184   # Global Service Mesh configuration
185   # POC Mode, don't use it in production
186   serviceMesh:
187     enabled: false
188     tls: true
189     # be aware that linkerd is not well tested
190     engine: "istio" # valid value: istio or linkerd
191
192   # Global Istio Authorization Policy configuration
193   authorizationPolicies:
194     enabled: false
195
196   # metrics part
197   # If enabled, exporters (for prometheus) will be deployed
198   # if custom resources set to yes, CRD from prometheus operartor will be
199   # created
200   # Not all components have it enabled.
201   #
202   metrics:
203     enabled: true
204     custom_resources: false
205
206   # Disabling AAF
207   # POC Mode, only for use in development environment
208   # Keep it enabled in production
209   aafEnabled: false
210   aafAgentImage: onap/aaf/aaf_agent:2.1.20
211
212   # Disabling MSB
213   # POC Mode, only for use in development environment
214   msbEnabled: true
215
216   # default values for certificates
217   certificate:
218     default:
219       renewBefore: 720h #30 days
220       duration:    8760h #365 days
221       subject:
222         organization: "Linux-Foundation"
223         country: "US"
224         locality: "San-Francisco"
225         province: "California"
226         organizationalUnit: "ONAP"
227       issuer:
228         group: certmanager.onap.org
229         kind: CMPv2Issuer
230         name: cmpv2-issuer-onap
231
232   # Enabling CMPv2
233   cmpv2Enabled: false
234   platform:
235     certificates:
236       clientSecretName: oom-cert-service-client-tls-secret
237       keystoreKeyRef: keystore.jks
238       truststoreKeyRef: truststore.jks
239       keystorePasswordSecretName: oom-cert-service-certificates-password
240       keystorePasswordSecretKey: password
241       truststorePasswordSecretName: oom-cert-service-certificates-password
242       truststorePasswordSecretKey: password
243
244   # Indicates offline deployment build
245   # Set to true if you are rendering helm charts for offline deployment
246   # Otherwise keep it disabled
247   offlineDeploymentBuild: false
248
249   # TLS
250   # Set to false if you want to disable TLS for NodePorts. Be aware that this
251   # will loosen your security.
252   # if set this element will force or not tls even if serviceMesh.tls is set.
253   tlsEnabled: false
254
255   # Logging
256   # Currently, centralized logging is not in best shape so it's disabled by
257   # default
258   centralizedLoggingEnabled: &centralizedLogging false
259
260   # Example of specific for the components where you want to disable TLS only for
261   # it:
262   # if set this element will force or not tls even if global.serviceMesh.tls and
263   # global.tlsEnabled is set otherwise.
264   # robot:
265   #   tlsOverride: false
266
267   # Global storage configuration
268   #    Set to "-" for default, or with the name of the storage class
269   #    Please note that if you use AAF, CDS, SDC, Netbox or Robot, you need a
270   #    storageclass with RWX capabilities (or set specific configuration for these
271   #    components).
272   # persistence:
273   #   storageClass: "-"
274
275 # Example of specific for the components which requires RWX:
276 # aaf:
277 #   persistence:
278 #     storageClassOverride: "My_RWX_Storage_Class"
279 # contrib:
280 #   netbox:
281 #     netbox-app:
282 #       persistence:
283 #         storageClassOverride: "My_RWX_Storage_Class"
284 # cds:
285 #   cds-blueprints-processor:
286 #     persistence:
287 #       storageClassOverride: "My_RWX_Storage_Class"
288 # sdc:
289 #   sdc-onboarding-be:
290 #     persistence:
291 #       storageClassOverride: "My_RWX_Storage_Class"
292
293 #################################################################
294 # Enable/disable and configure helm charts (ie. applications)
295 # to customize the ONAP deployment.
296 #################################################################
297
298 aaf:
299   enabled: false
300   aaf-sms:
301     cps:
302       # you must always set the same values as value set in cps.enabled
303       enabled: false
304 aai:
305   enabled: false
306 cassandra:
307   enabled: false
308 cds:
309   enabled: false
310 clamp:
311   enabled: false
312 cli:
313   enabled: false
314 consul:
315   enabled: false
316 # Today, "contrib" chart that hosting these components must also be enabled
317 # in order to make it work. So `contrib.enabled` must have the same value than
318 # addTestingComponents
319 contrib:
320   enabled: *testing
321 cps:
322   enabled: false
323 dcaegen2-services:
324   enabled: false
325 holmes:
326   enabled: false
327 dmaap:
328   enabled: false
329   message-router:
330     enabled: false
331   dmaap-bc:
332     enabled: false
333   dmaap-dr-prov:
334     enabled: false
335   dmaap-dr-node:
336     enabled: false
337 # Today, "logging" chart that perform the central part of logging must also be
338 # enabled in order to make it work. So `logging.enabled` must have the same
339 # value as centralizedLoggingEnabled
340 log:
341   enabled: *centralizedLogging
342 sniro-emulator:
343   enabled: false
344 oof:
345   enabled: false
346 mariadb-galera:
347   enabled: false
348 msb:
349   enabled: false
350 multicloud:
351   enabled: false
352 nbi:
353   enabled: false
354   config:
355     # openstack configuration
356     openStackRegion: "Yolo"
357     openStackVNFTenantId: "1234"
358 policy:
359   enabled: false
360 pomba:
361   enabled: false
362 portal:
363   enabled: false
364 robot:
365   enabled: false
366   config:
367     # openStackEncryptedPasswordHere should match the encrypted string used in SO and overridden per environment
368     openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
369 sdc:
370   enabled: false
371 sdnc:
372   enabled: false
373
374   replicaCount: 1
375
376   mysql:
377     replicaCount: 1
378 so:
379   enabled: false
380
381   replicaCount: 1
382
383   liveness:
384     # necessary to disable liveness probe when setting breakpoints
385     # in debugger so K8s doesn't restart unresponsive container
386     enabled: false
387
388   # so server configuration
389   config:
390     # message router configuration
391     dmaapTopic: "AUTO"
392     # openstack configuration
393     openStackUserName: "vnf_user"
394     openStackRegion: "RegionOne"
395     openStackKeyStoneUrl: "http://1.2.3.4:5000"
396     openStackServiceTenantName: "service"
397     openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
398
399   # in order to enable static password for so-monitoring uncomment:
400   # so-monitoring:
401   #   server:
402   #     monitoring:
403   #       password: demo123456!
404
405 strimzi:
406   enabled: false
407   # Kafka replication & disk storage should be dimensioned
408   # according to each given system use case.
409   replicaCount: 3
410   persistence:
411     kafka:
412       size: 10Gi
413     zookeeper:
414       size: 1Gi
415   # Strimzi kafka bridge is an optional http api towards
416   # kafka provided by https://strimzi.io/docs/bridge/latest/
417   strimzi-kafka-bridge:
418     enabled: false
419
420 uui:
421   enabled: false
422 vfc:
423   enabled: false
424 vnfsdk:
425   enabled: false
426 modeling:
427   enabled: false
428 platform:
429   enabled: false
430 a1policymanagement:
431   enabled: false
432 cert-wrapper:
433   enabled: true
434 repository-wrapper:
435   enabled: true
436 roles-wrapper:
437   enabled: true