blob: 988b8ef585e8769f67940324b9dcbe66e31763f9 [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# Copyright © 2018 AT&T USA
seshukm0df1f8e2020-08-17 21:45:49 +05302# Copyright © 2020 Huawei
Sylvain Desbureauxd3114052021-02-23 16:45:52 +01003# Copyright © 2021 Orange
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00004# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
jmacc4f04d32018-10-12 18:24:24 +000015#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
20 nodePortPrefixExt: 304
seshukm0df1f8e2020-08-17 21:45:49 +053021 aafAgentImage: onap/aaf/aaf_agent:2.1.20
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000022 mariadbGalera:
23 nameOverride: mariadb-galera
24 serviceName: mariadb-galera
rope2524d3f3682020-09-02 20:49:21 +010025 servicePort: '3306'
krishnaa9692b606b2020-10-30 11:29:21 +053026 service: mariadb-galera
27 internalPort: '3306'
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010028 # mariadbRootPassword: secretpassword
29 # rootPasswordExternalSecret: some secret
sarada prasad sahooae2c7342019-07-10 14:40:12 +053030 #This flag allows SO to instantiate its own mariadb-galera cluster,
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000031 #serviceName and nameOverride should be so-mariadb-galera if this flag is enabled
32 localCluster: false
jmacc4f04d32018-10-12 18:24:24 +000033 persistence:
34 mountPath: /dockerdata-nfs
Konrad Bańka7bde1d62020-04-01 16:09:11 +020035 #This configuration specifies Service and port for SDNC OAM interface
36 sdncOamService: sdnc-oam
37 sdncOamPort: 8282
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000038 #This configuration will run the migration. The configurations are for backing up the data
39 #from DB and then restoring it to the present versions preferred DB.
40 migration:
41 enabled: false
42 dbHost: mariadb-galera
43 dbPort: 3306
44 dbUser: root
45 dbPassword: secretpassword
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010046 # dbCredsExternalSecret: some secret
rope252c5e14bb2020-01-02 11:03:59 +000047 msbEnabled: true
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +000048 security:
49 aaf:
50 enabled: false
51 aaf:
52 auth:
53 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
54 encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
55 app:
56 siteName: onapheat
57 auth: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
58 defaultCloudOwner: onap
sekharhuawei2e799e92020-11-14 17:06:56 +053059
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010060 certificates:
61 path: /etc/ssl/certs
62 share_path: /usr/local/share/ca-certificates/
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010063
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010064readinessCheck:
65 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053066 jobs:
67 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010068
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010069#################################################################
70# Secrets metaconfig
71#################################################################
72secrets:
73 - uid: db-root-pass
74 name: &dbRootPassSecretName '{{ include "common.release" . }}-so-db-root-pass'
75 type: password
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010076 externalSecret: '{{ .Values.global.mariadbGalera.localCluster | ternary
77 .Values.global.mariadbGalera.rootPasswordExternalSecret
78 (default (include "common.mariadb.secret.rootPassSecretName"
79 (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride))
80 .Values.global.mariadbGalera.rootPasswordExternalSecret) }}'
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010081 password: '{{ .Values.global.mariadbGalera.mariadbRootpassword }}'
82 - uid: db-backup-creds
83 name: &dbBackupCredsSecretName '{{ include "common.release" . }}-so-db-backup-creds'
84 type: basicAuth
85 externalSecret: '{{ ternary .Values.global.migration.dbCredsExternalSecret "migrationDisabled" .Values.global.migration.enabled }}'
86 login: '{{ ternary .Values.global.migration.dbUser "migrationDisabled" .Values.global.migration.enabled }}'
87 password: '{{ ternary .Values.global.migration.dbPassword "migrationDisabled" .Values.global.migration.enabled }}'
88 passwordPolicy: required
89 annotations:
90 helm.sh/hook: pre-upgrade,pre-install
rope2524d3f3682020-09-02 20:49:21 +010091 helm.sh/hook-weight: '0'
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010092 helm.sh/hook-delete-policy: before-hook-creation
93 - uid: db-user-creds
94 name: &dbUserCredsSecretName '{{ include "common.release" . }}-so-db-user-creds'
95 type: basicAuth
96 externalSecret: '{{ .Values.dbCreds.userCredsExternalSecret }}'
97 login: '{{ .Values.dbCreds.userName }}'
98 password: '{{ .Values.dbCreds.userPassword }}'
99 passwordPolicy: generate
100 - uid: db-admin-creds
101 name: &dbAdminCredsSecretName '{{ include "common.release" . }}-so-db-admin-creds'
102 type: basicAuth
103 externalSecret: '{{ .Values.dbCreds.adminCredsExternalSecret }}'
104 login: '{{ .Values.dbCreds.adminName }}'
105 password: '{{ .Values.dbCreds.adminPassword }}'
106 passwordPolicy: generate
sekharhuawei2e799e92020-11-14 17:06:56 +0530107 - uid: 'mso-key'
Priyadharshini7dc03852020-08-27 04:36:03 -0700108 name: &mso-key '{{ include "common.release" . }}-mso-key'
109 type: password
sekharhuawei2e799e92020-11-14 17:06:56 +0530110 password: '{{ .Values.mso.msoKey }}'
Priyadharshini7dc03852020-08-27 04:36:03 -0700111 - uid: mso-oof-auth
112 name: &mso-oof-auth '{{ include "common.release" . }}-mso-oof-auth'
113 type: basicAuth
114 login: '{{ .Values.mso.oof.login }}'
115 password: '{{ .Values.mso.oof.password }}'
116 passwordPolicy: required
sekharhuawei2e799e92020-11-14 17:06:56 +0530117 - uid: server-actuator-creds
118 name: &actuator-secrets '{{ include "common.release" . }}-so-server-actuator-creds'
119 type: basicAuth
120 externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
121 login: '{{ .Values.server.actuator.username }}'
122 password: '{{ .Values.server.actuator.password }}'
123 passwordPolicy: required
124 - uid: server-bpel-creds
125 name: &bpel-secrets '{{ include "common.release" . }}-so-server-bpel-creds'
126 type: basicAuth
127 externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
128 login: '{{ .Values.server.bpel.username }}'
129 password: '{{ .Values.server.bpel.password }}'
130 passwordPolicy: required
131 - uid: so-aaf-creds
132 name: &aaf-secrets '{{ include "common.release" . }}-so-server-aaf-creds'
133 type: basicAuth
134 externalSecret: '{{ tpl (default "" .Values.server.aafCredsExternalSecret) . }}'
135 login: '{{ .Values.server.aaf.username }}'
136 password: '{{ .Values.server.aaf.password }}'
137 passwordPolicy: required
138 - uid: so-aai-creds
139 name: &aai-secrets '{{ include "common.release" . }}-so-server-aai-creds'
140 type: basicAuth
141 externalSecret: '{{ tpl (default "" .Values.server.aaiCredsExternalSecret) . }}'
142 login: '{{ .Values.server.aai.username }}'
143 password: '{{ .Values.server.aai.password }}'
144 passwordPolicy: required
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100145
seshukm0df1f8e2020-08-17 21:45:49 +0530146aafConfig:
147 permission_user: 1000
148 permission_group: 999
149
150aaf:
151 trustore: org.onap.so.trust.jks
152
jmacc4f04d32018-10-12 18:24:24 +0000153#################################################################
Sylvain Desbureauxc9f47132021-04-07 17:26:25 +0200154# AAF part for Ingress
155#################################################################
156certInitializer:
157 nameOverride: so-tls-cert
158 aafDeployFqi: deployer@people.osaaf.org
159 aafDeployPass: demo123456!
160 # aafDeployCredsExternalSecret: some secret
161 fqdn: so
162 fqi: so@so.onap.org
163 public_fqdn: so.onap.org
164 fqi_namespace: org.onap.so
165 cadi_longitude: '0.0'
166 cadi_latitude: '0.0'
167 app_ns: org.osaaf.aaf
168 credsPath: /opt/app/osaaf/local
169 ingressTlsSecret: '{{ include "common.release" . }}-so-ingress-certs'
170
171#################################################################
jmacc4f04d32018-10-12 18:24:24 +0000172# Application configuration defaults.
173#################################################################
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100174
175dbSecrets: &dbSecrets
176 userCredsExternalSecret: *dbUserCredsSecretName
177 adminCredsExternalSecret: *dbAdminCredsSecretName
178
179# unused in this, just to pass to subcharts
180dbCreds:
181 userName: so_user
182 adminName: so_admin
183
Lukasz Rajewski0a3982a2021-10-11 21:35:16 +0200184image: onap/so/api-handler-infra:1.9.2
sekharhuawei2e799e92020-11-14 17:06:56 +0530185
186server:
187 aaf:
188 username: so@so.onap.org
189 password: demo123456
190 # aafCredsExternalSecret: some secret
191 aai:
192 username: aai@aai.onap.org
193 password: demo123456!
194 # aaiCredsExternalSecret: some secret
195 actuator:
196 username: mso_admin
197 password: password1$
198 # actuatorCredsExternalSecret: some secret
199 bpel:
200 username: bpel
201 password: password1$
202 # bpelCredsExternalSecret: some secret
203
jmacc4f04d32018-10-12 18:24:24 +0000204pullPolicy: Always
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000205replicaCount: 1
206minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530207containerPort: &containerPort 8080
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000208logPath: ./logs/apih/
209app: api-handler-infra
210service:
seshukm0df1f8e2020-08-17 21:45:49 +0530211 type: NodePort
212 nodePort: 77
213 internalPort: *containerPort
214 externalPort: *containerPort
215 portName: so-apih-port
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000216updateStrategy:
seshukm0df1f8e2020-08-17 21:45:49 +0530217 type: RollingUpdate
218 maxUnavailable: 1
219 maxSurge: 1
220
221#################################################################
222# soHelpers part
223#################################################################
224soHelpers:
225 nameOverride: so-apih-cert-init
226 certInitializer:
227 nameOverride: so-apih-cert-init
228 credsPath: /opt/app/osaaf/local
seshukm0df1f8e2020-08-17 21:45:49 +0530229 containerPort: *containerPort
230
Alexis de Talhouëta52efcc2018-09-18 16:46:12 -0400231# Resource Limit flavor -By Default using small
vaibhav16dec0da88292018-08-13 06:10:27 +0000232flavor: small
233# Segregation for Different environment (Small and Large)
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100234persistence:
235 certificatesPath: /certificates
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000236resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000237 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000238 limits:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000239 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000240 memory: 4Gi
241 requests:
242 cpu: 500m
243 memory: 1Gi
244 large:
245 limits:
246 cpu: 4000m
247 memory: 8Gi
248 requests:
249 cpu: 1000m
250 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000251 unlimited: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000252
Mike Elliottd32d36e2018-02-12 15:54:03 -0500253nodeSelector: {}
Brian Freeman1a667932018-09-06 14:45:37 -0500254affinity: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000255
sunilb0a97ab22020-02-25 10:18:48 +0530256# application configuration
257config:
258 logstashServiceName: log-ls
259 logstashPort: 5044
260
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000261#Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
262#helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
263# --set so.global.mariadbGalera.localCluster=true \
264# --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
265# --set so.global.mariadbGalera.serviceName=so-mariadb-galera
266mariadb-galera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100267 rootUser:
268 externalSecret: *dbRootPassSecretName
269 nameOverride: &so-mariadb so-mariadb-galera
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000270 replicaCount: 1
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000271 persistence:
272 mountSubPath: so/mariadb-galera/data
273 enabled: true
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100274 serviceAccount:
275 nameOverride: *so-mariadb
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200276
277ingress:
278 enabled: false
279 service:
rope2524d3f3682020-09-02 20:49:21 +0100280 - baseaddr: 'so.api'
281 name: 'so'
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200282 port: 8080
283 config:
Sylvain Desbureauxc9f47132021-04-07 17:26:25 +0200284 tls:
285 secret: '{{ include "common.release" . }}-so-ingress-certs'
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000286
287mso:
288 adapters:
289 requestDb:
290 auth: Basic YnBlbDpwYXNzd29yZDEk
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000291 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
sekharhuawei2e799e92020-11-14 17:06:56 +0530292 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000293 sdc:
294 client:
295 auth: 878785F4F31BC9CFA5AB52A172008212D8845ED2DE08AD5E56AF114720A4E49768B8F95CDA2EB971765D28EDCDAA24
296 aai:
297 auth: 6E081E10B1CA43A843E303733A74D9B23B601A6E22A21C7EF2C7F15A42F81A1A4E85E65268C2661F71321052C7F3E55B96A8E1E951F8BF6F
Priyadharshini7dc03852020-08-27 04:36:03 -0700298 oof:
299 login: test
300 password: testpwd
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000301 so:
302 operationalEnv:
303 dmaap:
304 auth: 51EA5414022D7BE536E7516C4D1A6361416921849B72C0D6FC1C7F262FD9F2BBC2AD124190A332D9845A188AD80955567A4F975C84C221EEA8243BFD92FFE6896CDD1EA16ADD34E1E3D47D4A
305 health:
306 auth: basic bXNvX2FkbWlufHBhc3N3b3JkMSQ=
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100307
seshukm0df1f8e2020-08-17 21:45:49 +0530308so-appc-orchestrator:
Sylvain Desbureaux276c8e62020-11-02 17:51:15 +0100309 enabled: false
sekharhuawei2e799e92020-11-14 17:06:56 +0530310 server:
311 actuatorCredsExternalSecret: *actuator-secrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100312 db:
313 <<: *dbSecrets
seshukm0df1f8e2020-08-17 21:45:49 +0530314
315so-bpmn-infra:
316 db:
317 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100318
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000319so-catalog-db-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530320 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100321 db:
322 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100323
sekharhuawei2e799e92020-11-14 17:06:56 +0530324so-cnf-adapter:
325 enabled: true
326 db:
327 <<: *dbSecrets
328 server:
329 aafCredsExternalSecret: *aaf-secrets
330 aaiCredsExternalSecret: *aai-secrets
331 actuatorCredsExternalSecret: *actuator-secrets
332 mso:
333 msoKeySecret: *mso-key
334
AndrewLamb8e090442020-10-15 09:28:09 +0100335so-etsi-nfvo-ns-lcm:
336 enabled: true
rope2524d3f3682020-09-02 20:49:21 +0100337 db:
338 <<: *dbSecrets
AndrewLamb8e090442020-10-15 09:28:09 +0100339
sekharhuawei2e799e92020-11-14 17:06:56 +0530340so-mariadb:
341 db:
342 rootPasswordExternalSecretLocalDb: *dbRootPassSecretName
343 rootPasswordExternalSecret: '{{ ternary .Values.db.rootPasswordExternalSecretLocalDb (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) .Values.global.mariadbGalera.localCluster }}'
344 backupCredsExternalSecret: *dbBackupCredsSecretName
345 userCredsExternalSecret: *dbUserCredsSecretName
346 adminCredsExternalSecret: *dbAdminCredsSecretName
347
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +0100348so-admin-cockpit:
seshukm0df1f8e2020-08-17 21:45:49 +0530349 enabled: true
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100350 db:
351 <<: *dbSecrets
352
sekharhuawei2e799e92020-11-14 17:06:56 +0530353so-nssmf-adapter:
354 enabled: true
355 server:
356 actuatorCredsExternalSecret: *actuator-secrets
357 bpelCredsExternalSecret: *bpel-secrets
358 db:
359 <<: *dbSecrets
360
361so-oof-adapter:
362 enabled: true
363 db:
364 <<: *dbSecrets
365 mso:
366 msoKeySecret: *mso-key
367 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
368 oof:
369 authSecret: *mso-oof-auth
370
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000371so-openstack-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530372 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100373 db:
374 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100375
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000376so-request-db-adapter:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100377 db:
378 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100379
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000380so-sdc-controller:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100381 db:
382 <<: *dbSecrets
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100383
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000384so-sdnc-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530385 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100386 db:
387 <<: *dbSecrets
seshukm610d97d2021-03-19 02:57:36 +0530388 mso:
389 msoKeySecret: *mso-key
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100390
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100391so-ve-vnfm-adapter:
Sylvain Desbureaux28d56562020-11-02 17:54:05 +0100392 enabled: false
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100393
seshukm87ccd872021-03-30 21:45:16 +0530394so-etsi-sol005-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530395 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100396 db:
397 <<: *dbSecrets
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100398
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +0100399so-etsi-sol003-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530400 enabled: true
farida azmy87f46222021-04-06 15:25:15 +0200401
402#Pods Service Account
403serviceAccount:
404 nameOverride: so
405 roles:
406 - read