blob: ca2fe07b2246f6254be125add2be7ef69bd86e3e [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#################################################################
154# Application configuration defaults.
155#################################################################
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100156
157dbSecrets: &dbSecrets
158 userCredsExternalSecret: *dbUserCredsSecretName
159 adminCredsExternalSecret: *dbAdminCredsSecretName
160
161# unused in this, just to pass to subcharts
162dbCreds:
163 userName: so_user
164 adminName: so_admin
165
Dan Timoney1e108ef2021-08-19 12:20:35 -0400166image: onap/so/api-handler-infra:1.9.0
sekharhuawei2e799e92020-11-14 17:06:56 +0530167
168server:
169 aaf:
170 username: so@so.onap.org
171 password: demo123456
172 # aafCredsExternalSecret: some secret
173 aai:
174 username: aai@aai.onap.org
175 password: demo123456!
176 # aaiCredsExternalSecret: some secret
177 actuator:
178 username: mso_admin
179 password: password1$
180 # actuatorCredsExternalSecret: some secret
181 bpel:
182 username: bpel
183 password: password1$
184 # bpelCredsExternalSecret: some secret
185
jmacc4f04d32018-10-12 18:24:24 +0000186pullPolicy: Always
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000187replicaCount: 1
188minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530189containerPort: &containerPort 8080
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000190logPath: ./logs/apih/
191app: api-handler-infra
192service:
seshukm0df1f8e2020-08-17 21:45:49 +0530193 type: NodePort
194 nodePort: 77
195 internalPort: *containerPort
196 externalPort: *containerPort
197 portName: so-apih-port
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000198updateStrategy:
seshukm0df1f8e2020-08-17 21:45:49 +0530199 type: RollingUpdate
200 maxUnavailable: 1
201 maxSurge: 1
202
203#################################################################
204# soHelpers part
205#################################################################
206soHelpers:
207 nameOverride: so-apih-cert-init
208 certInitializer:
209 nameOverride: so-apih-cert-init
210 credsPath: /opt/app/osaaf/local
seshukm0df1f8e2020-08-17 21:45:49 +0530211 containerPort: *containerPort
212
Alexis de Talhouëta52efcc2018-09-18 16:46:12 -0400213# Resource Limit flavor -By Default using small
vaibhav16dec0da88292018-08-13 06:10:27 +0000214flavor: small
215# Segregation for Different environment (Small and Large)
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100216persistence:
217 certificatesPath: /certificates
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000218resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000219 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000220 limits:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000221 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000222 memory: 4Gi
223 requests:
224 cpu: 500m
225 memory: 1Gi
226 large:
227 limits:
228 cpu: 4000m
229 memory: 8Gi
230 requests:
231 cpu: 1000m
232 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000233 unlimited: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000234
Mike Elliottd32d36e2018-02-12 15:54:03 -0500235nodeSelector: {}
Brian Freeman1a667932018-09-06 14:45:37 -0500236affinity: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000237
sunilb0a97ab22020-02-25 10:18:48 +0530238# application configuration
239config:
240 logstashServiceName: log-ls
241 logstashPort: 5044
242
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000243#Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
244#helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
245# --set so.global.mariadbGalera.localCluster=true \
246# --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
247# --set so.global.mariadbGalera.serviceName=so-mariadb-galera
248mariadb-galera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100249 rootUser:
250 externalSecret: *dbRootPassSecretName
251 nameOverride: &so-mariadb so-mariadb-galera
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000252 replicaCount: 1
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000253 persistence:
254 mountSubPath: so/mariadb-galera/data
255 enabled: true
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100256 serviceAccount:
257 nameOverride: *so-mariadb
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200258
259ingress:
260 enabled: false
261 service:
rope2524d3f3682020-09-02 20:49:21 +0100262 - baseaddr: 'so.api'
263 name: 'so'
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200264 port: 8080
265 config:
rope2524d3f3682020-09-02 20:49:21 +0100266 ssl: 'none'
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000267
268mso:
269 adapters:
270 requestDb:
271 auth: Basic YnBlbDpwYXNzd29yZDEk
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000272 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
sekharhuawei2e799e92020-11-14 17:06:56 +0530273 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000274 sdc:
275 client:
276 auth: 878785F4F31BC9CFA5AB52A172008212D8845ED2DE08AD5E56AF114720A4E49768B8F95CDA2EB971765D28EDCDAA24
277 aai:
278 auth: 6E081E10B1CA43A843E303733A74D9B23B601A6E22A21C7EF2C7F15A42F81A1A4E85E65268C2661F71321052C7F3E55B96A8E1E951F8BF6F
Priyadharshini7dc03852020-08-27 04:36:03 -0700279 oof:
280 login: test
281 password: testpwd
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000282 so:
283 operationalEnv:
284 dmaap:
285 auth: 51EA5414022D7BE536E7516C4D1A6361416921849B72C0D6FC1C7F262FD9F2BBC2AD124190A332D9845A188AD80955567A4F975C84C221EEA8243BFD92FFE6896CDD1EA16ADD34E1E3D47D4A
286 health:
287 auth: basic bXNvX2FkbWlufHBhc3N3b3JkMSQ=
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100288
seshukm0df1f8e2020-08-17 21:45:49 +0530289so-appc-orchestrator:
Sylvain Desbureaux276c8e62020-11-02 17:51:15 +0100290 enabled: false
sekharhuawei2e799e92020-11-14 17:06:56 +0530291 server:
292 actuatorCredsExternalSecret: *actuator-secrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100293 db:
294 <<: *dbSecrets
seshukm0df1f8e2020-08-17 21:45:49 +0530295
296so-bpmn-infra:
297 db:
298 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100299
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000300so-catalog-db-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530301 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100302 db:
303 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100304
sekharhuawei2e799e92020-11-14 17:06:56 +0530305so-cnf-adapter:
306 enabled: true
307 db:
308 <<: *dbSecrets
309 server:
310 aafCredsExternalSecret: *aaf-secrets
311 aaiCredsExternalSecret: *aai-secrets
312 actuatorCredsExternalSecret: *actuator-secrets
313 mso:
314 msoKeySecret: *mso-key
315
AndrewLamb8e090442020-10-15 09:28:09 +0100316so-etsi-nfvo-ns-lcm:
317 enabled: true
rope2524d3f3682020-09-02 20:49:21 +0100318 db:
319 <<: *dbSecrets
AndrewLamb8e090442020-10-15 09:28:09 +0100320
sekharhuawei2e799e92020-11-14 17:06:56 +0530321so-mariadb:
322 db:
323 rootPasswordExternalSecretLocalDb: *dbRootPassSecretName
324 rootPasswordExternalSecret: '{{ ternary .Values.db.rootPasswordExternalSecretLocalDb (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) .Values.global.mariadbGalera.localCluster }}'
325 backupCredsExternalSecret: *dbBackupCredsSecretName
326 userCredsExternalSecret: *dbUserCredsSecretName
327 adminCredsExternalSecret: *dbAdminCredsSecretName
328
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +0100329so-admin-cockpit:
seshukm0df1f8e2020-08-17 21:45:49 +0530330 enabled: true
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100331 db:
332 <<: *dbSecrets
333
sekharhuawei2e799e92020-11-14 17:06:56 +0530334so-nssmf-adapter:
335 enabled: true
336 server:
337 actuatorCredsExternalSecret: *actuator-secrets
338 bpelCredsExternalSecret: *bpel-secrets
339 db:
340 <<: *dbSecrets
341
342so-oof-adapter:
343 enabled: true
344 db:
345 <<: *dbSecrets
346 mso:
347 msoKeySecret: *mso-key
348 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
349 oof:
350 authSecret: *mso-oof-auth
351
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000352so-openstack-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530353 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100354 db:
355 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100356
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000357so-request-db-adapter:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100358 db:
359 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100360
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000361so-sdc-controller:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100362 db:
363 <<: *dbSecrets
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100364
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000365so-sdnc-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530366 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100367 db:
368 <<: *dbSecrets
seshukm610d97d2021-03-19 02:57:36 +0530369 mso:
370 msoKeySecret: *mso-key
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100371
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100372so-ve-vnfm-adapter:
Sylvain Desbureaux28d56562020-11-02 17:54:05 +0100373 enabled: false
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100374
seshukm87ccd872021-03-30 21:45:16 +0530375so-etsi-sol005-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530376 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100377 db:
378 <<: *dbSecrets
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100379
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +0100380so-etsi-sol003-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530381 enabled: true
farida azmy87f46222021-04-06 15:25:15 +0200382
383#Pods Service Account
384serviceAccount:
385 nameOverride: so
386 roles:
387 - read