[COMMON][SA] Add default role creation to ServiceAccount
[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   # Global flag to enable the creation of default roles instead of using
114   # common roles-wrapper
115   createDefaultRoles: false
116
117   # override default resource limit flavor for all charts
118   flavor: unlimited
119
120   # flag to enable debugging - application support required
121   debugEnabled: false
122
123   # default password complexity
124   # available options: phrase, name, pin, basic, short, medium, long, maximum security
125   # More datails: https://www.masterpasswordapp.com/masterpassword-algorithm.pdf
126   passwordStrength: long
127
128   # configuration to set log level to all components (the one that are using
129   # "common.log.level" to set this)
130   # can be overrided per components by setting logConfiguration.logLevelOverride
131   # to the desired value
132   # logLevel: DEBUG
133
134   # Global ingress configuration
135   ingress:
136     # generally enable ingress for ONAP components
137     enabled: false
138     # enable all component's Ingress interfaces
139     enable_all: false
140
141     # default Ingress base URL and preAddr- and postAddr settings
142     # Ingress URLs result:
143     # <preaddr><component.ingress.service.baseaddr><postaddr>.<baseurl>
144     virtualhost:
145       # Default Ingress base URL
146       # can be overwritten in component by setting ingress.baseurlOverride
147       baseurl: "simpledemo.onap.org"
148       # prefix for baseaddr
149       # can be overwritten in component by setting ingress.preaddrOverride
150       preaddr: ""
151       # postfix for baseaddr
152       # can be overwritten in component by setting ingress.postaddrOverride
153       postaddr: ""
154
155     # All http (port 80) requests via ingress will be redirected
156     # to port 443 on Ingress controller
157     # only valid for Istio Gateway (ServiceMesh enabled)
158     config:
159       ssl: "redirect"
160     # you can set an own Secret containing a certificate
161     # only valid for Istio Gateway (ServiceMesh enabled)
162     #  tls:
163     #    secret: 'my-ingress-cert'
164
165     # optional: Namespace of the Istio IngressGateway
166     # only valid for Istio Gateway (ServiceMesh enabled)
167     namespace: istio-ingress
168
169   # Global Service Mesh configuration
170   serviceMesh:
171     enabled: false
172     tls: true
173     # be aware that linkerd is not well tested
174     engine: "istio" # valid value: istio or linkerd
175
176   # Global Istio Authorization Policy configuration
177   authorizationPolicies:
178     enabled: false
179
180   # metrics part
181   # If enabled, exporters (for prometheus) will be deployed
182   # if custom resources set to yes, CRD from prometheus operartor will be
183   # created
184   # Not all components have it enabled.
185   #
186   metrics:
187     enabled: true
188     custom_resources: false
189
190   # Disabling AAF
191   # POC Mode, only for use in development environment
192   # Keep it enabled in production
193   aafEnabled: false
194
195   # Disabling MSB
196   # POC Mode, only for use in development environment
197   msbEnabled: true
198
199   # default values for certificates
200   certificate:
201     default:
202       renewBefore: 720h #30 days
203       duration:    8760h #365 days
204       subject:
205         organization: "Linux-Foundation"
206         country: "US"
207         locality: "San-Francisco"
208         province: "California"
209         organizationalUnit: "ONAP"
210       issuer:
211         group: certmanager.onap.org
212         kind: CMPv2Issuer
213         name: cmpv2-issuer-onap
214
215   # Enabling CMPv2
216   cmpv2Enabled: false
217   platform:
218     certificates:
219       clientSecretName: oom-cert-service-client-tls-secret
220       keystoreKeyRef: keystore.jks
221       truststoreKeyRef: truststore.jks
222       keystorePasswordSecretName: oom-cert-service-certificates-password
223       keystorePasswordSecretKey: password
224       truststorePasswordSecretName: oom-cert-service-certificates-password
225       truststorePasswordSecretKey: password
226
227   # Indicates offline deployment build
228   # Set to true if you are rendering helm charts for offline deployment
229   # Otherwise keep it disabled
230   offlineDeploymentBuild: false
231
232   # TLS
233   # Set to false if you want to disable TLS for NodePorts. Be aware that this
234   # will loosen your security.
235   # if set this element will force or not tls even if serviceMesh.tls is set.
236   tlsEnabled: false
237
238   # Logging
239   # Currently, centralized logging is not in best shape so it's disabled by
240   # default
241   centralizedLoggingEnabled: &centralizedLogging false
242
243   # Example of specific for the components where you want to disable TLS only for
244   # it:
245   # if set this element will force or not tls even if global.serviceMesh.tls and
246   # global.tlsEnabled is set otherwise.
247   # robot:
248   #   tlsOverride: false
249
250   # Global storage configuration
251   #    Set to "-" for default, or with the name of the storage class
252   #    Please note that if you use AAF, CDS, SDC, Netbox or Robot, you need a
253   #    storageclass with RWX capabilities (or set specific configuration for these
254   #    components).
255   # persistence:
256   #   storageClass: "-"
257
258 # Example of specific for the components which requires RWX:
259 # cds:
260 #   cds-blueprints-processor:
261 #     persistence:
262 #       storageClassOverride: "My_RWX_Storage_Class"
263 # sdc:
264 #   sdc-onboarding-be:
265 #     persistence:
266 #       storageClassOverride: "My_RWX_Storage_Class"
267
268 #################################################################
269 # Enable/disable and configure helm charts (ie. applications)
270 # to customize the ONAP deployment.
271 #################################################################
272
273 aai:
274   enabled: false
275 cassandra:
276   enabled: false
277 cds:
278   enabled: false
279 cli:
280   enabled: false
281 cps:
282   enabled: false
283 dcaegen2-services:
284   enabled: false
285 holmes:
286   enabled: false
287 dmaap:
288   enabled: false
289   message-router:
290     enabled: false
291   dmaap-bc:
292     enabled: false
293   dmaap-dr-prov:
294     enabled: false
295   dmaap-dr-node:
296     enabled: false
297 oof:
298   enabled: false
299 mariadb-galera:
300   enabled: false
301 msb:
302   enabled: false
303 multicloud:
304   enabled: false
305 nbi:
306   enabled: false
307   config:
308     # openstack configuration
309     openStackRegion: "Yolo"
310     openStackVNFTenantId: "1234"
311 policy:
312   enabled: false
313 robot:
314   enabled: false
315   config:
316     # openStackEncryptedPasswordHere should match the encrypted string used in SO and overridden per environment
317     openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
318 sdc:
319   enabled: false
320 sdnc:
321   enabled: false
322
323   replicaCount: 1
324
325   mysql:
326     replicaCount: 1
327 so:
328   enabled: false
329
330   replicaCount: 1
331
332   liveness:
333     # necessary to disable liveness probe when setting breakpoints
334     # in debugger so K8s doesn't restart unresponsive container
335     enabled: false
336
337   # so server configuration
338   config:
339     # message router configuration
340     dmaapTopic: "AUTO"
341     # openstack configuration
342     openStackUserName: "vnf_user"
343     openStackRegion: "RegionOne"
344     openStackKeyStoneUrl: "http://1.2.3.4:5000"
345     openStackServiceTenantName: "service"
346     openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
347
348   # in order to enable static password for so-monitoring uncomment:
349   # so-monitoring:
350   #   server:
351   #     monitoring:
352   #       password: demo123456!
353
354 strimzi:
355   enabled: false
356   # Kafka replication & disk storage should be dimensioned
357   # according to each given system use case.
358   replicaCount: 3
359   persistence:
360     kafka:
361       size: 10Gi
362     zookeeper:
363       size: 1Gi
364   # Strimzi kafka bridge is an optional http api towards
365   # kafka provided by https://strimzi.io/docs/bridge/latest/
366   strimzi-kafka-bridge:
367     enabled: false
368
369 uui:
370   enabled: false
371 vfc:
372   enabled: false
373 vnfsdk:
374   enabled: false
375 modeling:
376   enabled: false
377 platform:
378   enabled: false
379 a1policymanagement:
380   enabled: false
381 cert-wrapper:
382   enabled: true
383 repository-wrapper:
384   enabled: true
385 roles-wrapper:
386   enabled: true