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