blob: bf540da9951cd805fed0c5d3be2b39fad4327597 [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
sekharhuawei3313f132020-11-14 17:06:56 +053063
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +000064 client:
65 certs:
Ramesh Parthasarathy3ea400b2020-04-05 04:30:27 +000066 truststore: /app/client/org.onap.so.trust.jks
67 keystore: /app/client/org.onap.so.jks
68 trustStorePassword: LHN4Iy5DKlcpXXdWZ0pDNmNjRkhJIzpI
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +000069 keyStorePassword: c280b25hcA==
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010070 certificates:
71 path: /etc/ssl/certs
72 share_path: /usr/local/share/ca-certificates/
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010073
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010074readinessCheck:
75 wait_for:
76 - so-mariadb-config
77
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010078#################################################################
79# Secrets metaconfig
80#################################################################
81secrets:
82 - uid: db-root-pass
83 name: &dbRootPassSecretName '{{ include "common.release" . }}-so-db-root-pass'
84 type: password
85 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 }}'
86 password: '{{ .Values.global.mariadbGalera.mariadbRootpassword }}'
87 - uid: db-backup-creds
88 name: &dbBackupCredsSecretName '{{ include "common.release" . }}-so-db-backup-creds'
89 type: basicAuth
90 externalSecret: '{{ ternary .Values.global.migration.dbCredsExternalSecret "migrationDisabled" .Values.global.migration.enabled }}'
91 login: '{{ ternary .Values.global.migration.dbUser "migrationDisabled" .Values.global.migration.enabled }}'
92 password: '{{ ternary .Values.global.migration.dbPassword "migrationDisabled" .Values.global.migration.enabled }}'
93 passwordPolicy: required
94 annotations:
95 helm.sh/hook: pre-upgrade,pre-install
rope2524d3f3682020-09-02 20:49:21 +010096 helm.sh/hook-weight: '0'
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010097 helm.sh/hook-delete-policy: before-hook-creation
98 - uid: db-user-creds
99 name: &dbUserCredsSecretName '{{ include "common.release" . }}-so-db-user-creds'
100 type: basicAuth
101 externalSecret: '{{ .Values.dbCreds.userCredsExternalSecret }}'
102 login: '{{ .Values.dbCreds.userName }}'
103 password: '{{ .Values.dbCreds.userPassword }}'
104 passwordPolicy: generate
105 - uid: db-admin-creds
106 name: &dbAdminCredsSecretName '{{ include "common.release" . }}-so-db-admin-creds'
107 type: basicAuth
108 externalSecret: '{{ .Values.dbCreds.adminCredsExternalSecret }}'
109 login: '{{ .Values.dbCreds.adminName }}'
110 password: '{{ .Values.dbCreds.adminPassword }}'
111 passwordPolicy: generate
rope2524d3f3682020-09-02 20:49:21 +0100112 - uid: 'so-onap-certs'
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100113 name: &so-certs '{{ include "common.release" . }}-so-certs'
114 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
115 type: generic
116 filePaths:
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100117 - resources/config/certificates/msb-ca.crt
sekharhuawei3313f132020-11-14 17:06:56 +0530118 - uid: 'mso-key'
Priyadharshini7dc03852020-08-27 04:36:03 -0700119 name: &mso-key '{{ include "common.release" . }}-mso-key'
120 type: password
sekharhuawei3313f132020-11-14 17:06:56 +0530121 password: '{{ .Values.mso.msoKey }}'
Priyadharshini7dc03852020-08-27 04:36:03 -0700122 - uid: mso-oof-auth
123 name: &mso-oof-auth '{{ include "common.release" . }}-mso-oof-auth'
124 type: basicAuth
125 login: '{{ .Values.mso.oof.login }}'
126 password: '{{ .Values.mso.oof.password }}'
127 passwordPolicy: required
sekharhuawei3313f132020-11-14 17:06:56 +0530128 - uid: server-actuator-creds
129 name: &actuator-secrets '{{ include "common.release" . }}-so-server-actuator-creds'
130 type: basicAuth
131 externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
132 login: '{{ .Values.server.actuator.username }}'
133 password: '{{ .Values.server.actuator.password }}'
134 passwordPolicy: required
135 - uid: server-bpel-creds
136 name: &bpel-secrets '{{ include "common.release" . }}-so-server-bpel-creds'
137 type: basicAuth
138 externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
139 login: '{{ .Values.server.bpel.username }}'
140 password: '{{ .Values.server.bpel.password }}'
141 passwordPolicy: required
142 - uid: so-aaf-creds
143 name: &aaf-secrets '{{ include "common.release" . }}-so-server-aaf-creds'
144 type: basicAuth
145 externalSecret: '{{ tpl (default "" .Values.server.aafCredsExternalSecret) . }}'
146 login: '{{ .Values.server.aaf.username }}'
147 password: '{{ .Values.server.aaf.password }}'
148 passwordPolicy: required
149 - uid: so-aai-creds
150 name: &aai-secrets '{{ include "common.release" . }}-so-server-aai-creds'
151 type: basicAuth
152 externalSecret: '{{ tpl (default "" .Values.server.aaiCredsExternalSecret) . }}'
153 login: '{{ .Values.server.aai.username }}'
154 password: '{{ .Values.server.aai.password }}'
155 passwordPolicy: required
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100156
seshukm0df1f8e2020-08-17 21:45:49 +0530157aafConfig:
158 permission_user: 1000
159 permission_group: 999
160
161aaf:
162 trustore: org.onap.so.trust.jks
163
jmacc4f04d32018-10-12 18:24:24 +0000164#################################################################
165# Application configuration defaults.
166#################################################################
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100167
168dbSecrets: &dbSecrets
169 userCredsExternalSecret: *dbUserCredsSecretName
170 adminCredsExternalSecret: *dbAdminCredsSecretName
171
172# unused in this, just to pass to subcharts
173dbCreds:
174 userName: so_user
175 adminName: so_admin
176
deen1985fe1a2932020-12-28 11:56:52 +0100177
Mike Elliottd32d36e2018-02-12 15:54:03 -0500178repository: nexus3.onap.org:10001
deen1985fe1a2932020-12-28 11:56:52 +0100179image: onap/so/api-handler-infra:1.7.11
sekharhuawei3313f132020-11-14 17:06:56 +0530180
181server:
182 aaf:
183 username: so@so.onap.org
184 password: demo123456
185 # aafCredsExternalSecret: some secret
186 aai:
187 username: aai@aai.onap.org
188 password: demo123456!
189 # aaiCredsExternalSecret: some secret
190 actuator:
191 username: mso_admin
192 password: password1$
193 # actuatorCredsExternalSecret: some secret
194 bpel:
195 username: bpel
196 password: password1$
197 # bpelCredsExternalSecret: some secret
198
jmacc4f04d32018-10-12 18:24:24 +0000199pullPolicy: Always
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000200replicaCount: 1
201minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530202containerPort: &containerPort 8080
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000203logPath: ./logs/apih/
204app: api-handler-infra
205service:
seshukm0df1f8e2020-08-17 21:45:49 +0530206 type: NodePort
207 nodePort: 77
208 internalPort: *containerPort
209 externalPort: *containerPort
210 portName: so-apih-port
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000211updateStrategy:
seshukm0df1f8e2020-08-17 21:45:49 +0530212 type: RollingUpdate
213 maxUnavailable: 1
214 maxSurge: 1
215
216#################################################################
217# soHelpers part
218#################################################################
219soHelpers:
220 nameOverride: so-apih-cert-init
221 certInitializer:
222 nameOverride: so-apih-cert-init
223 credsPath: /opt/app/osaaf/local
224 certSecret: *so-certs
225 containerPort: *containerPort
226
Alexis de Talhouëta52efcc2018-09-18 16:46:12 -0400227# Resource Limit flavor -By Default using small
vaibhav16dec0da88292018-08-13 06:10:27 +0000228flavor: small
229# Segregation for Different environment (Small and Large)
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100230persistence:
231 certificatesPath: /certificates
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000232resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000233 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000234 limits:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000235 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000236 memory: 4Gi
237 requests:
238 cpu: 500m
239 memory: 1Gi
240 large:
241 limits:
242 cpu: 4000m
243 memory: 8Gi
244 requests:
245 cpu: 1000m
246 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000247 unlimited: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000248
Mike Elliottd32d36e2018-02-12 15:54:03 -0500249nodeSelector: {}
Brian Freeman1a667932018-09-06 14:45:37 -0500250affinity: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000251
sunilb0a97ab22020-02-25 10:18:48 +0530252# application configuration
253config:
254 logstashServiceName: log-ls
255 logstashPort: 5044
256
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000257#Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
258#helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
259# --set so.global.mariadbGalera.localCluster=true \
260# --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
261# --set so.global.mariadbGalera.serviceName=so-mariadb-galera
262mariadb-galera:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100263 config:
264 mariadbRootPasswordExternalSecret: *dbRootPassSecretName
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000265 nameOverride: so-mariadb-galera
266 replicaCount: 1
267 service:
268 name: so-mariadb-galera
269 persistence:
270 mountSubPath: so/mariadb-galera/data
271 enabled: true
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200272
273ingress:
274 enabled: false
275 service:
rope2524d3f3682020-09-02 20:49:21 +0100276 - baseaddr: 'so.api'
277 name: 'so'
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200278 port: 8080
279 config:
rope2524d3f3682020-09-02 20:49:21 +0100280 ssl: 'none'
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000281
282mso:
283 adapters:
284 requestDb:
285 auth: Basic YnBlbDpwYXNzd29yZDEk
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000286 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
sekharhuawei3313f132020-11-14 17:06:56 +0530287 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000288 sdc:
289 client:
290 auth: 878785F4F31BC9CFA5AB52A172008212D8845ED2DE08AD5E56AF114720A4E49768B8F95CDA2EB971765D28EDCDAA24
291 aai:
292 auth: 6E081E10B1CA43A843E303733A74D9B23B601A6E22A21C7EF2C7F15A42F81A1A4E85E65268C2661F71321052C7F3E55B96A8E1E951F8BF6F
Priyadharshini7dc03852020-08-27 04:36:03 -0700293 oof:
294 login: test
295 password: testpwd
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000296 so:
297 operationalEnv:
298 dmaap:
299 auth: 51EA5414022D7BE536E7516C4D1A6361416921849B72C0D6FC1C7F262FD9F2BBC2AD124190A332D9845A188AD80955567A4F975C84C221EEA8243BFD92FFE6896CDD1EA16ADD34E1E3D47D4A
300 health:
301 auth: basic bXNvX2FkbWlufHBhc3N3b3JkMSQ=
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100302
seshukm0df1f8e2020-08-17 21:45:49 +0530303so-appc-orchestrator:
Sylvain Desbureaux276c8e62020-11-02 17:51:15 +0100304 enabled: false
sekharhuawei3313f132020-11-14 17:06:56 +0530305 server:
306 actuatorCredsExternalSecret: *actuator-secrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100307 db:
308 <<: *dbSecrets
seshukm0df1f8e2020-08-17 21:45:49 +0530309
310so-bpmn-infra:
311 db:
312 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100313
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000314so-catalog-db-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530315 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100316 db:
317 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100318
sekharhuawei3313f132020-11-14 17:06:56 +0530319so-cnf-adapter:
320 enabled: true
321 db:
322 <<: *dbSecrets
323 server:
324 aafCredsExternalSecret: *aaf-secrets
325 aaiCredsExternalSecret: *aai-secrets
326 actuatorCredsExternalSecret: *actuator-secrets
327 mso:
328 msoKeySecret: *mso-key
329
AndrewLamb8e090442020-10-15 09:28:09 +0100330so-etsi-nfvo-ns-lcm:
331 enabled: true
rope2524d3f3682020-09-02 20:49:21 +0100332 db:
333 <<: *dbSecrets
AndrewLamb8e090442020-10-15 09:28:09 +0100334
sekharhuawei3313f132020-11-14 17:06:56 +0530335so-mariadb:
336 db:
337 rootPasswordExternalSecretLocalDb: *dbRootPassSecretName
338 rootPasswordExternalSecret: '{{ ternary .Values.db.rootPasswordExternalSecretLocalDb (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) .Values.global.mariadbGalera.localCluster }}'
339 backupCredsExternalSecret: *dbBackupCredsSecretName
340 userCredsExternalSecret: *dbUserCredsSecretName
341 adminCredsExternalSecret: *dbAdminCredsSecretName
342
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100343so-monitoring:
seshukm0df1f8e2020-08-17 21:45:49 +0530344 enabled: true
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100345 db:
346 <<: *dbSecrets
347
sekharhuawei3313f132020-11-14 17:06:56 +0530348so-nssmf-adapter:
349 enabled: true
350 server:
351 actuatorCredsExternalSecret: *actuator-secrets
352 bpelCredsExternalSecret: *bpel-secrets
353 db:
354 <<: *dbSecrets
355
356so-oof-adapter:
357 enabled: true
358 db:
359 <<: *dbSecrets
360 mso:
361 msoKeySecret: *mso-key
362 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
363 oof:
364 authSecret: *mso-oof-auth
365
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000366so-openstack-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530367 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100368 db:
369 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100370
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000371so-request-db-adapter:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100372 db:
373 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100374
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000375so-sdc-controller:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100376 db:
377 <<: *dbSecrets
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100378
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000379so-sdnc-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530380 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100381 db:
382 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100383
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100384so-ve-vnfm-adapter:
Sylvain Desbureaux28d56562020-11-02 17:54:05 +0100385 enabled: false
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100386
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000387so-vfc-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530388 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100389 db:
390 <<: *dbSecrets
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100391
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000392so-vnfm-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530393 enabled: true
Sylvain Desbureauxd24825b2020-11-03 15:52:44 +0000394