blob: 0a9dbf4f4e66052888c30f6a23bf7374aab2c592 [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'
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010030 # mariadbRootPassword: secretpassword
31 # rootPasswordExternalSecret: some secret
sarada prasad sahooae2c7342019-07-10 14:40:12 +053032 #This flag allows SO to instantiate its own mariadb-galera cluster,
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000033 #serviceName and nameOverride should be so-mariadb-galera if this flag is enabled
34 localCluster: false
jmacc4f04d32018-10-12 18:24:24 +000035 persistence:
36 mountPath: /dockerdata-nfs
Konrad Bańka7bde1d62020-04-01 16:09:11 +020037 #This configuration specifies Service and port for SDNC OAM interface
38 sdncOamService: sdnc-oam
39 sdncOamPort: 8282
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000040 #This configuration will run the migration. The configurations are for backing up the data
41 #from DB and then restoring it to the present versions preferred DB.
42 migration:
43 enabled: false
44 dbHost: mariadb-galera
45 dbPort: 3306
46 dbUser: root
47 dbPassword: secretpassword
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010048 # dbCredsExternalSecret: some secret
rope252c5e14bb2020-01-02 11:03:59 +000049 msbEnabled: true
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +000050 security:
51 aaf:
52 enabled: false
53 aaf:
54 auth:
55 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
56 encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
57 app:
58 siteName: onapheat
59 auth: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
60 defaultCloudOwner: onap
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +000061 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
62 client:
63 certs:
Ramesh Parthasarathy3ea400b2020-04-05 04:30:27 +000064 truststore: /app/client/org.onap.so.trust.jks
65 keystore: /app/client/org.onap.so.jks
66 trustStorePassword: LHN4Iy5DKlcpXXdWZ0pDNmNjRkhJIzpI
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +000067 keyStorePassword: c280b25hcA==
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010068 certificates:
69 path: /etc/ssl/certs
70 share_path: /usr/local/share/ca-certificates/
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010071
72#################################################################
73# Secrets metaconfig
74#################################################################
75secrets:
76 - uid: db-root-pass
77 name: &dbRootPassSecretName '{{ include "common.release" . }}-so-db-root-pass'
78 type: password
79 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 }}'
80 password: '{{ .Values.global.mariadbGalera.mariadbRootpassword }}'
81 - uid: db-backup-creds
82 name: &dbBackupCredsSecretName '{{ include "common.release" . }}-so-db-backup-creds'
83 type: basicAuth
84 externalSecret: '{{ ternary .Values.global.migration.dbCredsExternalSecret "migrationDisabled" .Values.global.migration.enabled }}'
85 login: '{{ ternary .Values.global.migration.dbUser "migrationDisabled" .Values.global.migration.enabled }}'
86 password: '{{ ternary .Values.global.migration.dbPassword "migrationDisabled" .Values.global.migration.enabled }}'
87 passwordPolicy: required
88 annotations:
89 helm.sh/hook: pre-upgrade,pre-install
rope2524d3f3682020-09-02 20:49:21 +010090 helm.sh/hook-weight: '0'
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010091 helm.sh/hook-delete-policy: before-hook-creation
92 - uid: db-user-creds
93 name: &dbUserCredsSecretName '{{ include "common.release" . }}-so-db-user-creds'
94 type: basicAuth
95 externalSecret: '{{ .Values.dbCreds.userCredsExternalSecret }}'
96 login: '{{ .Values.dbCreds.userName }}'
97 password: '{{ .Values.dbCreds.userPassword }}'
98 passwordPolicy: generate
99 - uid: db-admin-creds
100 name: &dbAdminCredsSecretName '{{ include "common.release" . }}-so-db-admin-creds'
101 type: basicAuth
102 externalSecret: '{{ .Values.dbCreds.adminCredsExternalSecret }}'
103 login: '{{ .Values.dbCreds.adminName }}'
104 password: '{{ .Values.dbCreds.adminPassword }}'
105 passwordPolicy: generate
rope2524d3f3682020-09-02 20:49:21 +0100106 - uid: 'so-onap-certs'
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100107 name: &so-certs '{{ include "common.release" . }}-so-certs'
108 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
109 type: generic
110 filePaths:
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100111 - resources/config/certificates/msb-ca.crt
Priyadharshini7dc03852020-08-27 04:36:03 -0700112 - uid: "mso-key"
113 name: &mso-key '{{ include "common.release" . }}-mso-key'
114 type: password
115 password: '{{ .Values.global.app.msoKey }}'
116 - uid: mso-oof-auth
117 name: &mso-oof-auth '{{ include "common.release" . }}-mso-oof-auth'
118 type: basicAuth
119 login: '{{ .Values.mso.oof.login }}'
120 password: '{{ .Values.mso.oof.password }}'
121 passwordPolicy: required
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100122
seshukm0df1f8e2020-08-17 21:45:49 +0530123aafConfig:
124 permission_user: 1000
125 permission_group: 999
126
127aaf:
128 trustore: org.onap.so.trust.jks
129
jmacc4f04d32018-10-12 18:24:24 +0000130#################################################################
131# Application configuration defaults.
132#################################################################
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100133
134dbSecrets: &dbSecrets
135 userCredsExternalSecret: *dbUserCredsSecretName
136 adminCredsExternalSecret: *dbAdminCredsSecretName
137
138# unused in this, just to pass to subcharts
139dbCreds:
140 userName: so_user
141 adminName: so_admin
142
Mike Elliottd32d36e2018-02-12 15:54:03 -0500143repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +0530144image: onap/so/api-handler-infra:1.6.4
jmacc4f04d32018-10-12 18:24:24 +0000145pullPolicy: Always
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000146replicaCount: 1
147minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530148containerPort: &containerPort 8080
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000149logPath: ./logs/apih/
150app: api-handler-infra
151service:
seshukm0df1f8e2020-08-17 21:45:49 +0530152 type: NodePort
153 nodePort: 77
154 internalPort: *containerPort
155 externalPort: *containerPort
156 portName: so-apih-port
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000157updateStrategy:
seshukm0df1f8e2020-08-17 21:45:49 +0530158 type: RollingUpdate
159 maxUnavailable: 1
160 maxSurge: 1
161
162#################################################################
163# soHelpers part
164#################################################################
165soHelpers:
166 nameOverride: so-apih-cert-init
167 certInitializer:
168 nameOverride: so-apih-cert-init
169 credsPath: /opt/app/osaaf/local
170 certSecret: *so-certs
171 containerPort: *containerPort
172
Alexis de Talhouëta52efcc2018-09-18 16:46:12 -0400173# Resource Limit flavor -By Default using small
vaibhav16dec0da88292018-08-13 06:10:27 +0000174flavor: small
175# Segregation for Different environment (Small and Large)
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100176persistence:
177 certificatesPath: /certificates
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000178resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000179 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000180 limits:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000181 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000182 memory: 4Gi
183 requests:
184 cpu: 500m
185 memory: 1Gi
186 large:
187 limits:
188 cpu: 4000m
189 memory: 8Gi
190 requests:
191 cpu: 1000m
192 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000193 unlimited: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000194
Mike Elliottd32d36e2018-02-12 15:54:03 -0500195nodeSelector: {}
Brian Freeman1a667932018-09-06 14:45:37 -0500196affinity: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000197
sunilb0a97ab22020-02-25 10:18:48 +0530198# application configuration
199config:
200 logstashServiceName: log-ls
201 logstashPort: 5044
202
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000203#Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
204#helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
205# --set so.global.mariadbGalera.localCluster=true \
206# --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
207# --set so.global.mariadbGalera.serviceName=so-mariadb-galera
208mariadb-galera:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100209 config:
210 mariadbRootPasswordExternalSecret: *dbRootPassSecretName
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000211 nameOverride: so-mariadb-galera
212 replicaCount: 1
213 service:
214 name: so-mariadb-galera
215 persistence:
216 mountSubPath: so/mariadb-galera/data
217 enabled: true
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200218
219ingress:
220 enabled: false
221 service:
rope2524d3f3682020-09-02 20:49:21 +0100222 - baseaddr: 'so.api'
223 name: 'so'
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200224 port: 8080
225 config:
rope2524d3f3682020-09-02 20:49:21 +0100226 ssl: 'none'
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000227
228mso:
229 adapters:
230 requestDb:
231 auth: Basic YnBlbDpwYXNzd29yZDEk
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000232 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
233 sdc:
234 client:
235 auth: 878785F4F31BC9CFA5AB52A172008212D8845ED2DE08AD5E56AF114720A4E49768B8F95CDA2EB971765D28EDCDAA24
236 aai:
237 auth: 6E081E10B1CA43A843E303733A74D9B23B601A6E22A21C7EF2C7F15A42F81A1A4E85E65268C2661F71321052C7F3E55B96A8E1E951F8BF6F
Priyadharshini7dc03852020-08-27 04:36:03 -0700238 oof:
239 login: test
240 password: testpwd
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000241 so:
242 operationalEnv:
243 dmaap:
244 auth: 51EA5414022D7BE536E7516C4D1A6361416921849B72C0D6FC1C7F262FD9F2BBC2AD124190A332D9845A188AD80955567A4F975C84C221EEA8243BFD92FFE6896CDD1EA16ADD34E1E3D47D4A
245 health:
246 auth: basic bXNvX2FkbWlufHBhc3N3b3JkMSQ=
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100247
seshukm0df1f8e2020-08-17 21:45:49 +0530248so-appc-orchestrator:
249 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100250 db:
251 <<: *dbSecrets
seshukm0df1f8e2020-08-17 21:45:49 +0530252
253so-bpmn-infra:
254 db:
255 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100256
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000257so-catalog-db-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530258 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100259 db:
260 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100261
AndrewLamb8e090442020-10-15 09:28:09 +0100262so-etsi-nfvo-ns-lcm:
263 enabled: true
rope2524d3f3682020-09-02 20:49:21 +0100264 db:
265 <<: *dbSecrets
AndrewLamb8e090442020-10-15 09:28:09 +0100266
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100267so-monitoring:
seshukm0df1f8e2020-08-17 21:45:49 +0530268 enabled: true
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100269 db:
270 <<: *dbSecrets
271
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000272so-openstack-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530273 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100274 db:
275 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100276
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000277so-request-db-adapter:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100278 db:
279 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100280
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000281so-sdc-controller:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100282 db:
283 <<: *dbSecrets
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100284
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000285so-sdnc-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530286 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100287 db:
288 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100289
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100290so-ve-vnfm-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530291 enabled: true
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100292
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000293so-vfc-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530294 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100295 db:
296 <<: *dbSecrets
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100297
jananib28734e02020-04-08 21:35:45 +0530298so-nssmf-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530299 enabled: true
jananib28734e02020-04-08 21:35:45 +0530300 db:
301 <<: *dbSecrets
jananib28734e02020-04-08 21:35:45 +0530302
Priyadharshini7dc03852020-08-27 04:36:03 -0700303so-oof-adapter:
304 enabled: true
305 db:
306 <<: *dbSecrets
307 mso:
308 msoKeySecret: *mso-key
309 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
310 oof:
311 authSecret: *mso-oof-auth
312
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000313so-vnfm-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530314 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100315
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100316so-mariadb:
317 db:
318 rootPasswordExternalSecretLocalDb: *dbRootPassSecretName
319 rootPasswordExternalSecret: '{{ ternary .Values.db.rootPasswordExternalSecretLocalDb (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) .Values.global.mariadbGalera.localCluster }}'
320 backupCredsExternalSecret: *dbBackupCredsSecretName
321 userCredsExternalSecret: *dbUserCredsSecretName
322 adminCredsExternalSecret: *dbAdminCredsSecretName