blob: 8c28fa5798a1b0f0d200dbb9dc0a2380c65f0974 [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
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00003# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
jmacc4f04d32018-10-12 18:24:24 +000014#################################################################
15# Global configuration defaults.
16#################################################################
17global:
18 nodePortPrefix: 302
19 nodePortPrefixExt: 304
20 repository: nexus3.onap.org:10001
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
sunilb0a97ab22020-02-25 10:18:48 +053022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010024 soBaseImage: onap/so/base-image:1.0
seshukm0df1f8e2020-08-17 21:45:49 +053025 aafAgentImage: onap/aaf/aaf_agent:2.1.20
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000026 mariadbGalera:
27 nameOverride: mariadb-galera
28 serviceName: mariadb-galera
rope2524d3f3682020-09-02 20:49:21 +010029 servicePort: '3306'
krishnaa9692b606b2020-10-30 11:29:21 +053030 service: mariadb-galera
31 internalPort: '3306'
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010032 # mariadbRootPassword: secretpassword
33 # rootPasswordExternalSecret: some secret
sarada prasad sahooae2c7342019-07-10 14:40:12 +053034 #This flag allows SO to instantiate its own mariadb-galera cluster,
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000035 #serviceName and nameOverride should be so-mariadb-galera if this flag is enabled
36 localCluster: false
jmacc4f04d32018-10-12 18:24:24 +000037 persistence:
38 mountPath: /dockerdata-nfs
Konrad Bańka7bde1d62020-04-01 16:09:11 +020039 #This configuration specifies Service and port for SDNC OAM interface
40 sdncOamService: sdnc-oam
41 sdncOamPort: 8282
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000042 #This configuration will run the migration. The configurations are for backing up the data
43 #from DB and then restoring it to the present versions preferred DB.
44 migration:
45 enabled: false
46 dbHost: mariadb-galera
47 dbPort: 3306
48 dbUser: root
49 dbPassword: secretpassword
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010050 # dbCredsExternalSecret: some secret
rope252c5e14bb2020-01-02 11:03:59 +000051 msbEnabled: true
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +000052 security:
53 aaf:
54 enabled: false
55 aaf:
56 auth:
57 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
58 encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
59 app:
60 siteName: onapheat
61 auth: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
62 defaultCloudOwner: onap
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +000063 client:
64 certs:
Ramesh Parthasarathy3ea400b2020-04-05 04:30:27 +000065 truststore: /app/client/org.onap.so.trust.jks
66 keystore: /app/client/org.onap.so.jks
67 trustStorePassword: LHN4Iy5DKlcpXXdWZ0pDNmNjRkhJIzpI
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +000068 keyStorePassword: c280b25hcA==
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010069 certificates:
70 path: /etc/ssl/certs
71 share_path: /usr/local/share/ca-certificates/
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010072
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010073readinessCheck:
74 wait_for:
75 - so-mariadb-config
76
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010077#################################################################
78# Secrets metaconfig
79#################################################################
80secrets:
81 - uid: db-root-pass
82 name: &dbRootPassSecretName '{{ include "common.release" . }}-so-db-root-pass'
83 type: password
84 externalSecret: '{{ ternary .Values.global.mariadbGalera.rootPasswordExternalSecret (default (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) .Values.global.mariadbGalera.rootPasswordExternalSecret) .Values.global.mariadbGalera.localCluster }}'
85 password: '{{ .Values.global.mariadbGalera.mariadbRootpassword }}'
86 - uid: db-backup-creds
87 name: &dbBackupCredsSecretName '{{ include "common.release" . }}-so-db-backup-creds'
88 type: basicAuth
89 externalSecret: '{{ ternary .Values.global.migration.dbCredsExternalSecret "migrationDisabled" .Values.global.migration.enabled }}'
90 login: '{{ ternary .Values.global.migration.dbUser "migrationDisabled" .Values.global.migration.enabled }}'
91 password: '{{ ternary .Values.global.migration.dbPassword "migrationDisabled" .Values.global.migration.enabled }}'
92 passwordPolicy: required
93 annotations:
94 helm.sh/hook: pre-upgrade,pre-install
rope2524d3f3682020-09-02 20:49:21 +010095 helm.sh/hook-weight: '0'
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010096 helm.sh/hook-delete-policy: before-hook-creation
97 - uid: db-user-creds
98 name: &dbUserCredsSecretName '{{ include "common.release" . }}-so-db-user-creds'
99 type: basicAuth
100 externalSecret: '{{ .Values.dbCreds.userCredsExternalSecret }}'
101 login: '{{ .Values.dbCreds.userName }}'
102 password: '{{ .Values.dbCreds.userPassword }}'
103 passwordPolicy: generate
104 - uid: db-admin-creds
105 name: &dbAdminCredsSecretName '{{ include "common.release" . }}-so-db-admin-creds'
106 type: basicAuth
107 externalSecret: '{{ .Values.dbCreds.adminCredsExternalSecret }}'
108 login: '{{ .Values.dbCreds.adminName }}'
109 password: '{{ .Values.dbCreds.adminPassword }}'
110 passwordPolicy: generate
rope2524d3f3682020-09-02 20:49:21 +0100111 - uid: 'so-onap-certs'
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100112 name: &so-certs '{{ include "common.release" . }}-so-certs'
113 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
114 type: generic
115 filePaths:
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100116 - resources/config/certificates/msb-ca.crt
sekharhuaweia2145f72020-10-12 14:57:13 +0530117 - uid: 'mso-key'
Priyadharshini7dc03852020-08-27 04:36:03 -0700118 name: &mso-key '{{ include "common.release" . }}-mso-key'
119 type: password
sekharhuaweia2145f72020-10-12 14:57:13 +0530120 password: '{{ .Values.mso.msoKey }}'
Priyadharshini7dc03852020-08-27 04:36:03 -0700121 - uid: mso-oof-auth
122 name: &mso-oof-auth '{{ include "common.release" . }}-mso-oof-auth'
123 type: basicAuth
124 login: '{{ .Values.mso.oof.login }}'
125 password: '{{ .Values.mso.oof.password }}'
126 passwordPolicy: required
sekharhuaweia2145f72020-10-12 14:57:13 +0530127 - uid: server-actuator-creds
128 name: &actuator-secrets '{{ include "common.release" . }}-so-server-actuator-creds'
129 type: basicAuth
130 externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
131 login: '{{ .Values.server.actuator.username }}'
132 password: '{{ .Values.server.actuator.password }}'
133 passwordPolicy: required
134 - uid: server-bpel-creds
135 name: &bpel-secrets '{{ include "common.release" . }}-so-server-bpel-creds'
136 type: basicAuth
137 externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
138 login: '{{ .Values.server.bpel.username }}'
139 password: '{{ .Values.server.bpel.password }}'
140 passwordPolicy: required
141 - uid: so-aaf-creds
142 name: &aaf-secrets '{{ include "common.release" . }}-so-server-aaf-creds'
143 type: basicAuth
144 externalSecret: '{{ tpl (default "" .Values.server.aafCredsExternalSecret) . }}'
145 login: '{{ .Values.server.aaf.username }}'
146 password: '{{ .Values.server.aaf.password }}'
147 passwordPolicy: required
148 - uid: so-aai-creds
149 name: &aai-secrets '{{ include "common.release" . }}-so-server-aai-creds'
150 type: basicAuth
151 externalSecret: '{{ tpl (default "" .Values.server.aaiCredsExternalSecret) . }}'
152 login: '{{ .Values.server.aai.username }}'
153 password: '{{ .Values.server.aai.password }}'
154 passwordPolicy: required
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100155
seshukm0df1f8e2020-08-17 21:45:49 +0530156aafConfig:
157 permission_user: 1000
158 permission_group: 999
159
160aaf:
161 trustore: org.onap.so.trust.jks
162
jmacc4f04d32018-10-12 18:24:24 +0000163#################################################################
164# Application configuration defaults.
165#################################################################
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100166
167dbSecrets: &dbSecrets
168 userCredsExternalSecret: *dbUserCredsSecretName
169 adminCredsExternalSecret: *dbAdminCredsSecretName
170
171# unused in this, just to pass to subcharts
172dbCreds:
173 userName: so_user
174 adminName: so_admin
175
sekharhuaweia2145f72020-10-12 14:57:13 +0530176server:
177 aaf:
178 username: so@so.onap.org
179 password: demo123456
180 # aafCredsExternalSecret: some secret
181 aai:
182 username: aai@aai.onap.org
183 password: demo123456!
184 # aaiCredsExternalSecret: some secret
185 actuator:
186 username: mso_admin
187 password: password1$
188 # actuatorCredsExternalSecret: some secret
189 bpel:
190 username: bpel
191 password: password1$
192 # bpelCredsExternalSecret: some secret
193
Mike Elliottd32d36e2018-02-12 15:54:03 -0500194repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +0530195image: onap/so/api-handler-infra:1.6.4
jmacc4f04d32018-10-12 18:24:24 +0000196pullPolicy: Always
sekharhuaweia2145f72020-10-12 14:57:13 +0530197
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000198replicaCount: 1
199minReadySeconds: 10
sekharhuaweia2145f72020-10-12 14:57:13 +0530200
seshukm0df1f8e2020-08-17 21:45:49 +0530201containerPort: &containerPort 8080
sekharhuaweia2145f72020-10-12 14:57:13 +0530202
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000203logPath: ./logs/apih/
sekharhuaweia2145f72020-10-12 14:57:13 +0530204
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000205app: api-handler-infra
sekharhuaweia2145f72020-10-12 14:57:13 +0530206
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000207service:
seshukm0df1f8e2020-08-17 21:45:49 +0530208 type: NodePort
209 nodePort: 77
210 internalPort: *containerPort
211 externalPort: *containerPort
212 portName: so-apih-port
sekharhuaweia2145f72020-10-12 14:57:13 +0530213
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000214updateStrategy:
seshukm0df1f8e2020-08-17 21:45:49 +0530215 type: RollingUpdate
216 maxUnavailable: 1
217 maxSurge: 1
218
219#################################################################
220# soHelpers part
221#################################################################
222soHelpers:
223 nameOverride: so-apih-cert-init
224 certInitializer:
225 nameOverride: so-apih-cert-init
226 credsPath: /opt/app/osaaf/local
227 certSecret: *so-certs
228 containerPort: *containerPort
229
Alexis de Talhouëta52efcc2018-09-18 16:46:12 -0400230# Resource Limit flavor -By Default using small
vaibhav16dec0da88292018-08-13 06:10:27 +0000231flavor: small
232# Segregation for Different environment (Small and Large)
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100233persistence:
234 certificatesPath: /certificates
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000235resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000236 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000237 limits:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000238 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000239 memory: 4Gi
240 requests:
241 cpu: 500m
242 memory: 1Gi
243 large:
244 limits:
245 cpu: 4000m
246 memory: 8Gi
247 requests:
248 cpu: 1000m
249 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000250 unlimited: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000251
Mike Elliottd32d36e2018-02-12 15:54:03 -0500252nodeSelector: {}
Brian Freeman1a667932018-09-06 14:45:37 -0500253affinity: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000254
sunilb0a97ab22020-02-25 10:18:48 +0530255# application configuration
256config:
257 logstashServiceName: log-ls
258 logstashPort: 5044
259
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000260#Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
261#helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
262# --set so.global.mariadbGalera.localCluster=true \
263# --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
264# --set so.global.mariadbGalera.serviceName=so-mariadb-galera
265mariadb-galera:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100266 config:
267 mariadbRootPasswordExternalSecret: *dbRootPassSecretName
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000268 nameOverride: so-mariadb-galera
269 replicaCount: 1
270 service:
271 name: so-mariadb-galera
272 persistence:
273 mountSubPath: so/mariadb-galera/data
274 enabled: true
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200275
276ingress:
277 enabled: false
278 service:
rope2524d3f3682020-09-02 20:49:21 +0100279 - baseaddr: 'so.api'
280 name: 'so'
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200281 port: 8080
282 config:
rope2524d3f3682020-09-02 20:49:21 +0100283 ssl: 'none'
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000284
285mso:
286 adapters:
287 requestDb:
288 auth: Basic YnBlbDpwYXNzd29yZDEk
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000289 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
sekharhuaweia2145f72020-10-12 14:57:13 +0530290 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000291 sdc:
292 client:
293 auth: 878785F4F31BC9CFA5AB52A172008212D8845ED2DE08AD5E56AF114720A4E49768B8F95CDA2EB971765D28EDCDAA24
294 aai:
295 auth: 6E081E10B1CA43A843E303733A74D9B23B601A6E22A21C7EF2C7F15A42F81A1A4E85E65268C2661F71321052C7F3E55B96A8E1E951F8BF6F
Priyadharshini7dc03852020-08-27 04:36:03 -0700296 oof:
297 login: test
298 password: testpwd
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000299 so:
300 operationalEnv:
301 dmaap:
302 auth: 51EA5414022D7BE536E7516C4D1A6361416921849B72C0D6FC1C7F262FD9F2BBC2AD124190A332D9845A188AD80955567A4F975C84C221EEA8243BFD92FFE6896CDD1EA16ADD34E1E3D47D4A
303 health:
304 auth: basic bXNvX2FkbWlufHBhc3N3b3JkMSQ=
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100305
seshukm0df1f8e2020-08-17 21:45:49 +0530306so-appc-orchestrator:
307 enabled: true
sekharhuaweia2145f72020-10-12 14:57:13 +0530308 server:
309 actuatorCredsExternalSecret: *actuator-secrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100310 db:
311 <<: *dbSecrets
seshukm0df1f8e2020-08-17 21:45:49 +0530312
313so-bpmn-infra:
314 db:
315 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100316
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000317so-catalog-db-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530318 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100319 db:
320 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100321
sekharhuaweia2145f72020-10-12 14:57:13 +0530322so-cnf-adapter:
323 enabled: true
324 server:
325 aafCredsExternalSecret: *aaf-secrets
326 aaiCredsExternalSecret: *aai-secrets
327 actuatorCredsExternalSecret: *actuator-secrets
328 mso:
329 msoKeySecret: *mso-key
330
AndrewLamb8e090442020-10-15 09:28:09 +0100331so-etsi-nfvo-ns-lcm:
332 enabled: true
rope2524d3f3682020-09-02 20:49:21 +0100333 db:
334 <<: *dbSecrets
AndrewLamb8e090442020-10-15 09:28:09 +0100335
sekharhuaweia2145f72020-10-12 14:57:13 +0530336so-mariadb:
337 db:
338 rootPasswordExternalSecretLocalDb: *dbRootPassSecretName
339 rootPasswordExternalSecret: '{{ ternary .Values.db.rootPasswordExternalSecretLocalDb (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) .Values.global.mariadbGalera.localCluster }}'
340 backupCredsExternalSecret: *dbBackupCredsSecretName
341 userCredsExternalSecret: *dbUserCredsSecretName
342 adminCredsExternalSecret: *dbAdminCredsSecretName
343
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100344so-monitoring:
seshukm0df1f8e2020-08-17 21:45:49 +0530345 enabled: true
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100346 db:
347 <<: *dbSecrets
348
sekharhuaweia2145f72020-10-12 14:57:13 +0530349so-nssmf-adapter:
350 enabled: true
351 server:
352 actuatorCredsExternalSecret: *actuator-secrets
353 bpelCredsExternalSecret: *bpel-secrets
354 db:
355 <<: *dbSecrets
356
357so-oof-adapter:
358 enabled: true
359 db:
360 <<: *dbSecrets
361 mso:
362 msoKeySecret: *mso-key
363 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
364 oof:
365 authSecret: *mso-oof-auth
366
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000367so-openstack-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530368 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100369 db:
370 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100371
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000372so-request-db-adapter:
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-sdc-controller:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100377 db:
378 <<: *dbSecrets
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100379
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000380so-sdnc-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530381 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100382 db:
383 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100384
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100385so-ve-vnfm-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530386 enabled: true
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100387
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000388so-vfc-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530389 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100390 db:
391 <<: *dbSecrets
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100392
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000393so-vnfm-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530394 enabled: true