Merge "[COMMON][MARIADB] Upgrade Mariadb DB galera version"
[oom.git] / kubernetes / onap / values.yaml
1 # Copyright © 2019 Amdocs, Bell Canada
2 # Copyright (c) 2020 Nordix Foundation, Modifications
3 # Modifications Copyright © 2020 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 clusterName
115   # {{ template "common.fullname" . }}.{{ template "common.namespace" . }}.svc.{{ .Values.global.clusterName }}
116   clusterName: cluster.local
117
118   # default mount path root directory referenced
119   # by persistent volumes and log files
120   persistence:
121     mountPath: /dockerdata-nfs
122     enableDefaultStorageclass: false
123     parameters: {}
124     storageclassProvisioner: kubernetes.io/no-provisioner
125     volumeReclaimPolicy: Retain
126
127   # override default resource limit flavor for all charts
128   flavor: unlimited
129
130   # flag to enable debugging - application support required
131   debugEnabled: false
132
133   # default password complexity
134   # available options: phrase, name, pin, basic, short, medium, long, maximum security
135   # More datails: https://masterpassword.app/masterpassword-algorithm.pdf
136   passwordStrength: long
137
138   # configuration to set log level to all components (the one that are using
139   # "common.log.level" to set this)
140   # can be overrided per components by setting logConfiguration.logLevelOverride
141   # to the desired value
142   # logLevel: DEBUG
143
144   # Global ingress configuration
145   ingress:
146     enabled: false
147     virtualhost:
148       baseurl: "simpledemo.onap.org"
149
150   # Global Service Mesh configuration
151   # POC Mode, don't use it in production
152   serviceMesh:
153     enabled: false
154     tls: true
155
156   # metrics part
157   # If enabled, exporters (for prometheus) will be deployed
158   # if custom resources set to yes, CRD from prometheus operartor will be
159   # created
160   # Not all components have it enabled.
161   #
162   metrics:
163     enabled: true
164     custom_resources: false
165
166   # Disabling AAF
167   # POC Mode, only for use in development environment
168   # Keep it enabled in production
169   aafEnabled: true
170   aafAgentImage: onap/aaf/aaf_agent:2.1.20
171
172   # Enabling CMPv2
173   cmpv2Enabled: true
174   platform:
175     certServiceClient:
176       image: onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.3.1
177       secret:
178         name: oom-cert-service-client-tls-secret
179         mountPath: /etc/onap/oom/certservice/certs/
180       envVariables:
181         # Certificate related
182         cmpv2Organization: "Linux-Foundation"
183         cmpv2OrganizationalUnit: "ONAP"
184         cmpv2Location: "San-Francisco"
185         cmpv2State: "California"
186         cmpv2Country: "US"
187         # Client configuration related
188         caName: "RA"
189         requestURL: "https://oom-cert-service:8443/v1/certificate/"
190         requestTimeout: "30000"
191         keystorePath: "/etc/onap/oom/certservice/certs/certServiceClient-keystore.jks"
192         outputType: "P12"
193         keystorePassword: "secret"
194         truststorePath: "/etc/onap/oom/certservice/certs/truststore.jks"
195         truststorePassword: "secret"
196
197   # Indicates offline deployment build
198   # Set to true if you are rendering helm charts for offline deployment
199   # Otherwise keep it disabled
200   offlineDeploymentBuild: false
201
202   # TLS
203   # Set to false if you want to disable TLS for NodePorts. Be aware that this
204   # will loosen your security.
205   # if set this element will force or not tls even if serviceMesh.tls is set.
206   # tlsEnabled: false
207
208   # Logging
209   # Currently, centralized logging is not in best shape so it's disabled by
210   # default
211   centralizedLoggingEnabled: &centralizedLogging false
212
213   # Example of specific for the components where you want to disable TLS only for
214   # it:
215   # if set this element will force or not tls even if global.serviceMesh.tls and
216   # global.tlsEnabled is set otherwise.
217   # robot:
218   #   tlsOverride: false
219
220   # Global storage configuration
221   #    Set to "-" for default, or with the name of the storage class
222   #    Please note that if you use AAF, CDS, SDC, Netbox or Robot, you need a
223   #    storageclass with RWX capabilities (or set specific configuration for these
224   #    components).
225   # persistence:
226   #   storageClass: "-"
227
228 # Example of specific for the components which requires RWX:
229 # aaf:
230 #   persistence:
231 #     storageClassOverride: "My_RWX_Storage_Class"
232 # contrib:
233 #   netbox:
234 #     netbox-app:
235 #       persistence:
236 #         storageClassOverride: "My_RWX_Storage_Class"
237 # cds:
238 #   cds-blueprints-processor:
239 #     persistence:
240 #       storageClassOverride: "My_RWX_Storage_Class"
241 # sdc:
242 #   sdc-onboarding-be:
243 #     persistence:
244 #       storageClassOverride: "My_RWX_Storage_Class"
245
246 #################################################################
247 # Enable/disable and configure helm charts (ie. applications)
248 # to customize the ONAP deployment.
249 #################################################################
250 aaf:
251   enabled: false
252 aai:
253   enabled: false
254 appc:
255   enabled: false
256   config:
257     openStackType: OpenStackProvider
258     openStackName: OpenStack
259     openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
260     openStackServiceTenantName: default
261     openStackDomain: default
262     openStackUserName: admin
263     openStackEncryptedPassword: admin
264 cassandra:
265   enabled: false
266 cds:
267   enabled: false
268 clamp:
269   enabled: false
270 cli:
271   enabled: false
272 consul:
273   enabled: false
274 # Today, "contrib" chart that hosting these components must also be enabled
275 # in order to make it work. So `contrib.enabled` must have the same value than
276 # addTestingComponents
277 contrib:
278   enabled: *testing
279 dcaegen2:
280   enabled: false
281 dcaemod:
282   enabled: false
283 dmaap:
284   enabled: false
285 esr:
286   enabled: false
287 # Today, "logging" chart that perform the central part of logging must also be
288 # enabled in order to make it work. So `logging.enabled` must have the same
289 # value than centralizedLoggingEnabled
290 log:
291   enabled: *centralizedLogging
292 sniro-emulator:
293   enabled: false
294 oof:
295   enabled: false
296 mariadb-galera:
297   enabled: false
298 msb:
299   enabled: false
300 multicloud:
301   enabled: false
302 nbi:
303   enabled: false
304   config:
305     # openstack configuration
306     openStackRegion: "Yolo"
307     openStackVNFTenantId: "1234"
308 policy:
309   enabled: false
310 pomba:
311   enabled: false
312 portal:
313   enabled: false
314 robot:
315   enabled: false
316   config:
317     # openStackEncryptedPasswordHere should match the encrypted string used in SO and APPC and overridden per environment
318     openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
319 sdc:
320   enabled: false
321 sdnc:
322   enabled: false
323
324   replicaCount: 1
325
326   mysql:
327     replicaCount: 1
328 so:
329   enabled: false
330
331   replicaCount: 1
332
333   liveness:
334     # necessary to disable liveness probe when setting breakpoints
335     # in debugger so K8s doesn't restart unresponsive container
336     enabled: false
337
338   # so server configuration
339   config:
340     # message router configuration
341     dmaapTopic: "AUTO"
342     # openstack configuration
343     openStackUserName: "vnf_user"
344     openStackRegion: "RegionOne"
345     openStackKeyStoneUrl: "http://1.2.3.4:5000"
346     openStackServiceTenantName: "service"
347     openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
348
349   # in order to enable static password for so-monitoring uncomment:
350   # so-monitoring:
351   #   server:
352   #     monitoring:
353   #       password: demo123456!
354 uui:
355   enabled: false
356 vfc:
357   enabled: false
358 vid:
359   enabled: false
360 vnfsdk:
361   enabled: false
362 modeling:
363   enabled: false
364 platform:
365   enabled: false
366 a1policymanagement:
367   enabled: false
368
369 cert-wrapper:
370   enabled: true
371 repository-wrapper:
372   enabled: true