Merge "[CMPV2] Add readiness check"
[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: mariadb:10.1.48
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   # Disabling AAF
157   # POC Mode, only for use in development environment
158   # Keep it enabled in production
159   aafEnabled: true
160   aafAgentImage: onap/aaf/aaf_agent:2.1.20
161
162   # Enabling CMPv2
163   cmpv2Enabled: true
164   platform:
165     certServiceClient:
166       image: onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.3.1
167       secret:
168         name: oom-cert-service-client-tls-secret
169         mountPath: /etc/onap/oom/certservice/certs/
170       envVariables:
171         # Certificate related
172         cmpv2Organization: "Linux-Foundation"
173         cmpv2OrganizationalUnit: "ONAP"
174         cmpv2Location: "San-Francisco"
175         cmpv2State: "California"
176         cmpv2Country: "US"
177         # Client configuration related
178         caName: "RA"
179         requestURL: "https://oom-cert-service:8443/v1/certificate/"
180         requestTimeout: "30000"
181         keystorePath: "/etc/onap/oom/certservice/certs/certServiceClient-keystore.jks"
182         outputType: "P12"
183         keystorePassword: "secret"
184         truststorePath: "/etc/onap/oom/certservice/certs/truststore.jks"
185         truststorePassword: "secret"
186
187   # Indicates offline deployment build
188   # Set to true if you are rendering helm charts for offline deployment
189   # Otherwise keep it disabled
190   offlineDeploymentBuild: false
191
192   # TLS
193   # Set to false if you want to disable TLS for NodePorts. Be aware that this
194   # will loosen your security.
195   # if set this element will force or not tls even if serviceMesh.tls is set.
196   # tlsEnabled: false
197
198   # Logging
199   # Currently, centralized logging is not in best shape so it's disabled by
200   # default
201   centralizedLoggingEnabled: &centralizedLogging false
202
203   # Example of specific for the components where you want to disable TLS only for
204   # it:
205   # if set this element will force or not tls even if global.serviceMesh.tls and
206   # global.tlsEnabled is set otherwise.
207   # robot:
208   #   tlsOverride: false
209
210   # Global storage configuration
211   #    Set to "-" for default, or with the name of the storage class
212   #    Please note that if you use AAF, CDS, SDC, Netbox or Robot, you need a
213   #    storageclass with RWX capabilities (or set specific configuration for these
214   #    components).
215   # persistence:
216   #   storageClass: "-"
217
218 # Example of specific for the components which requires RWX:
219 # aaf:
220 #   persistence:
221 #     storageClassOverride: "My_RWX_Storage_Class"
222 # contrib:
223 #   netbox:
224 #     netbox-app:
225 #       persistence:
226 #         storageClassOverride: "My_RWX_Storage_Class"
227 # cds:
228 #   cds-blueprints-processor:
229 #     persistence:
230 #       storageClassOverride: "My_RWX_Storage_Class"
231 # sdc:
232 #   sdc-onboarding-be:
233 #     persistence:
234 #       storageClassOverride: "My_RWX_Storage_Class"
235
236 #################################################################
237 # Enable/disable and configure helm charts (ie. applications)
238 # to customize the ONAP deployment.
239 #################################################################
240 aaf:
241   enabled: false
242 aai:
243   enabled: false
244 appc:
245   enabled: false
246   config:
247     openStackType: OpenStackProvider
248     openStackName: OpenStack
249     openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
250     openStackServiceTenantName: default
251     openStackDomain: default
252     openStackUserName: admin
253     openStackEncryptedPassword: admin
254 cassandra:
255   enabled: false
256 cds:
257   enabled: false
258 clamp:
259   enabled: false
260 cli:
261   enabled: false
262 consul:
263   enabled: false
264 # Today, "contrib" chart that hosting these components must also be enabled
265 # in order to make it work. So `contrib.enabled` must have the same value than
266 # addTestingComponents
267 contrib:
268   enabled: *testing
269 dcaegen2:
270   enabled: false
271 dcaemod:
272   enabled: false
273 dmaap:
274   enabled: false
275 esr:
276   enabled: false
277 # Today, "logging" chart that perform the central part of logging must also be
278 # enabled in order to make it work. So `logging.enabled` must have the same
279 # value than centralizedLoggingEnabled
280 log:
281   enabled: *centralizedLogging
282 sniro-emulator:
283   enabled: false
284 oof:
285   enabled: false
286 mariadb-galera:
287   enabled: false
288 msb:
289   enabled: false
290 multicloud:
291   enabled: false
292 nbi:
293   enabled: false
294   config:
295     # openstack configuration
296     openStackRegion: "Yolo"
297     openStackVNFTenantId: "1234"
298 policy:
299   enabled: false
300 pomba:
301   enabled: false
302 portal:
303   enabled: false
304 robot:
305   enabled: false
306   config:
307     # openStackEncryptedPasswordHere should match the encrypted string used in SO and APPC and overridden per environment
308     openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
309 sdc:
310   enabled: false
311 sdnc:
312   enabled: false
313
314   replicaCount: 1
315
316   mysql:
317     replicaCount: 1
318 so:
319   enabled: false
320
321   replicaCount: 1
322
323   liveness:
324     # necessary to disable liveness probe when setting breakpoints
325     # in debugger so K8s doesn't restart unresponsive container
326     enabled: false
327
328   # so server configuration
329   config:
330     # message router configuration
331     dmaapTopic: "AUTO"
332     # openstack configuration
333     openStackUserName: "vnf_user"
334     openStackRegion: "RegionOne"
335     openStackKeyStoneUrl: "http://1.2.3.4:5000"
336     openStackServiceTenantName: "service"
337     openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
338
339   # in order to enable static password for so-monitoring uncomment:
340   # so-monitoring:
341   #   server:
342   #     monitoring:
343   #       password: demo123456!
344
345   # configure embedded mariadb
346   mariadb:
347     config:
348       mariadbRootPassword: password
349 uui:
350   enabled: false
351 vfc:
352   enabled: false
353 vid:
354   enabled: false
355 vnfsdk:
356   enabled: false
357 modeling:
358   enabled: false
359 platform:
360   enabled: false
361 a1policymanagement:
362   enabled: false
363
364 cert-wrapper:
365   enabled: true
366 repository-wrapper:
367   enabled: true