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