blob: b2a8b681b375a7c051c219ec6914755c8e9edd37 [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# Copyright © 2018 AT&T USA
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00002#
3# 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
21 readinessRepository: oomk8s
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000022 readinessImage: readiness-check:2.0.2
sunilb0a97ab22020-02-25 10:18:48 +053023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000025 mariadbGalera:
26 nameOverride: mariadb-galera
27 serviceName: mariadb-galera
28 servicePort: "3306"
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010029 # mariadbRootPassword: secretpassword
30 # rootPasswordExternalSecret: some secret
sarada prasad sahooae2c7342019-07-10 14:40:12 +053031 #This flag allows SO to instantiate its own mariadb-galera cluster,
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000032 #serviceName and nameOverride should be so-mariadb-galera if this flag is enabled
33 localCluster: false
jmacc4f04d32018-10-12 18:24:24 +000034 persistence:
35 mountPath: /dockerdata-nfs
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000036 #This configuration will run the migration. The configurations are for backing up the data
37 #from DB and then restoring it to the present versions preferred DB.
38 migration:
39 enabled: false
40 dbHost: mariadb-galera
41 dbPort: 3306
42 dbUser: root
43 dbPassword: secretpassword
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010044 # dbCredsExternalSecret: some secret
rope252c5e14bb2020-01-02 11:03:59 +000045 msbEnabled: true
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +000046 security:
47 aaf:
48 enabled: false
49 aaf:
50 auth:
51 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
52 encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
53 app:
54 siteName: onapheat
55 auth: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
56 defaultCloudOwner: onap
57 cadi:
58 cadiLoglevel: DEBUG
59 cadiKeyFile: /app/org.onap.so.keyfile
60 cadiTrustStore: /app/org.onap.so.trust.jks
61 cadiTruststorePassword: enc:MFpuxKeYK6Eo6QXjDUjtOBbp0FthY7SB4mKSIJm_RWC
62 cadiLatitude: 38.4329
63 cadiLongitude: -90.43248
64 aafEnv: IST
65 aafApiVersion: 2.1
66 aafRootNs: org.onap.so
67 aafLocateUrl: https://aaf-locate.onap:8095
68 aafUrl: https://aaf-locate.onap:8095/locate/org.osaaf.aaf.service:2.1
69 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
70 client:
71 certs:
72 trustStorePassword: b25hcDRzbw==
73 keyStorePassword: c280b25hcA==
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010074
75#################################################################
76# Secrets metaconfig
77#################################################################
78secrets:
79 - uid: db-root-pass
80 name: &dbRootPassSecretName '{{ include "common.release" . }}-so-db-root-pass'
81 type: password
82 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 }}'
83 password: '{{ .Values.global.mariadbGalera.mariadbRootpassword }}'
84 - uid: db-backup-creds
85 name: &dbBackupCredsSecretName '{{ include "common.release" . }}-so-db-backup-creds'
86 type: basicAuth
87 externalSecret: '{{ ternary .Values.global.migration.dbCredsExternalSecret "migrationDisabled" .Values.global.migration.enabled }}'
88 login: '{{ ternary .Values.global.migration.dbUser "migrationDisabled" .Values.global.migration.enabled }}'
89 password: '{{ ternary .Values.global.migration.dbPassword "migrationDisabled" .Values.global.migration.enabled }}'
90 passwordPolicy: required
91 annotations:
92 helm.sh/hook: pre-upgrade,pre-install
93 helm.sh/hook-weight: "0"
94 helm.sh/hook-delete-policy: before-hook-creation
95 - uid: db-user-creds
96 name: &dbUserCredsSecretName '{{ include "common.release" . }}-so-db-user-creds'
97 type: basicAuth
98 externalSecret: '{{ .Values.dbCreds.userCredsExternalSecret }}'
99 login: '{{ .Values.dbCreds.userName }}'
100 password: '{{ .Values.dbCreds.userPassword }}'
101 passwordPolicy: generate
102 - uid: db-admin-creds
103 name: &dbAdminCredsSecretName '{{ include "common.release" . }}-so-db-admin-creds'
104 type: basicAuth
105 externalSecret: '{{ .Values.dbCreds.adminCredsExternalSecret }}'
106 login: '{{ .Values.dbCreds.adminName }}'
107 password: '{{ .Values.dbCreds.adminPassword }}'
108 passwordPolicy: generate
109
jmacc4f04d32018-10-12 18:24:24 +0000110#################################################################
111# Application configuration defaults.
112#################################################################
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100113
114dbSecrets: &dbSecrets
115 userCredsExternalSecret: *dbUserCredsSecretName
116 adminCredsExternalSecret: *dbAdminCredsSecretName
117
118# unused in this, just to pass to subcharts
119dbCreds:
120 userName: so_user
121 adminName: so_admin
122
Mike Elliottd32d36e2018-02-12 15:54:03 -0500123repository: nexus3.onap.org:10001
seshukmfb56d712019-10-14 10:46:52 +0530124image: onap/so/api-handler-infra:1.5.3
jmacc4f04d32018-10-12 18:24:24 +0000125pullPolicy: Always
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000126replicaCount: 1
127minReadySeconds: 10
128containerPort: 8080
129logPath: ./logs/apih/
130app: api-handler-infra
131service:
132 type: NodePort
Mandeep Khindadc2b43e2018-09-06 16:34:19 +0000133 nodePort: 77
Brian Freeman1a667932018-09-06 14:45:37 -0500134 internalPort: 8080
Mandeep Khindafe527eb2018-10-16 09:56:34 -0400135 externalPort: 8080
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000136 portName: so-apih-port
137updateStrategy:
138 type: RollingUpdate
139 maxUnavailable: 1
140 maxSurge: 1
Alexis de Talhouëta52efcc2018-09-18 16:46:12 -0400141# Resource Limit flavor -By Default using small
vaibhav16dec0da88292018-08-13 06:10:27 +0000142flavor: small
143# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000144resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000145 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000146 limits:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000147 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000148 memory: 4Gi
149 requests:
150 cpu: 500m
151 memory: 1Gi
152 large:
153 limits:
154 cpu: 4000m
155 memory: 8Gi
156 requests:
157 cpu: 1000m
158 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000159 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000160livenessProbe:
Ramesh Parthasarathy1ceefda2018-09-14 21:22:43 +0000161 path: /manage/health
162 scheme: HTTP
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000163 initialDelaySeconds: 600
164 periodSeconds: 60
165 timeoutSeconds: 10
166 successThreshold: 1
167 failureThreshold: 3
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000168
Mike Elliottd32d36e2018-02-12 15:54:03 -0500169nodeSelector: {}
Brian Freeman1a667932018-09-06 14:45:37 -0500170affinity: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000171
sunilb0a97ab22020-02-25 10:18:48 +0530172# application configuration
173config:
174 logstashServiceName: log-ls
175 logstashPort: 5044
176
177
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000178#Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
179#helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
180# --set so.global.mariadbGalera.localCluster=true \
181# --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
182# --set so.global.mariadbGalera.serviceName=so-mariadb-galera
183mariadb-galera:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100184 config:
185 mariadbRootPasswordExternalSecret: *dbRootPassSecretName
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000186 nameOverride: so-mariadb-galera
187 replicaCount: 1
188 service:
189 name: so-mariadb-galera
190 persistence:
191 mountSubPath: so/mariadb-galera/data
192 enabled: true
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200193
194ingress:
195 enabled: false
196 service:
197 - baseaddr: "so"
198 name: "so"
199 port: 8080
200 config:
rope252c5e14bb2020-01-02 11:03:59 +0000201 ssl: "none"
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000202
203mso:
204 adapters:
205 requestDb:
206 auth: Basic YnBlbDpwYXNzd29yZDEk
207 config:
208 cadi:
209 aafId: so@so.onap.org
210 aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
211 apiEnforcement: org.onap.so.apihPerm
212 noAuthn: /manage/health
213 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
214 sdc:
215 client:
216 auth: 878785F4F31BC9CFA5AB52A172008212D8845ED2DE08AD5E56AF114720A4E49768B8F95CDA2EB971765D28EDCDAA24
217 aai:
218 auth: 6E081E10B1CA43A843E303733A74D9B23B601A6E22A21C7EF2C7F15A42F81A1A4E85E65268C2661F71321052C7F3E55B96A8E1E951F8BF6F
219 so:
220 operationalEnv:
221 dmaap:
222 auth: 51EA5414022D7BE536E7516C4D1A6361416921849B72C0D6FC1C7F262FD9F2BBC2AD124190A332D9845A188AD80955567A4F975C84C221EEA8243BFD92FFE6896CDD1EA16ADD34E1E3D47D4A
223 health:
224 auth: basic bXNvX2FkbWlufHBhc3N3b3JkMSQ=
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100225
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000226so-bpmn-infra:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100227 db:
228 <<: *dbSecrets
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000229 cds:
230 auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
231 aai:
232 auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885
233 mso:
234 key: 07a7159d3bf51a0e53be7a8f89699be7
235 adapters:
236 requestDb:
237 auth: Basic YnBlbDpwYXNzd29yZDEk
238 db:
239 auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
240 password: wLg4sjrAFUS8rfVfdvTXeQ==
241 po:
242 auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
243 config:
244 cadi:
245 aafId: so@so.onap.org
246 aaafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
247 apiEnforcement: org.onap.so.bpmnPerm
248 noAuthn: /manage/health
249 sdnc:
250 password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F
251 sniro:
252 auth: test:testpwd
253 endpoint: http://replaceme:28090/optimizationInstance/V1/create
254 oof:
255 auth: test:testpwd
256 so:
257 vnfm:
258 adapter:
259 auth: Basic dm5mbTpwYXNzd29yZDEk
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100260
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000261so-catalog-db-adapter:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100262 db:
263 <<: *dbSecrets
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000264 mso:
265 config:
266 cadi:
267 aafId: so@so.onap.org
268 aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
269 apiEnforcement: org.onap.so.catalogDbAdapterPerm
270 noAuthn: /manage/health
271 adapters:
272 db:
273 auth: Basic YnBlbDpwYXNzd29yZDEk
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100274
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000275so-openstack-adapter:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100276 db:
277 <<: *dbSecrets
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000278 aaf:
279 auth:
280 encrypted: 7F182B0C05D58A23A1C4966B9CDC9E0B8BC5CD53BC8C7B4083D869F8D53E9BDC3EFD55C94B1D3F
281 aai:
282 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
283 org:
284 onap:
285 so:
286 adapters:
287 bpelauth: D1A67FA93B6A6419132D0F83CC771AF774FD3C60853C50C22C8C6FC5088CC79E9E81EDE9EA39F22B2F66A0068E
288 valet:
289 basic_auth: bXNvOkphY2tkYXdzIGxvdmUgbXkgYmlnIHNwaGlueCBvZiBxdWFydHouCg==
290 mso:
291 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
292 auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4
Ramesh Parthasarathybb611922020-03-18 00:00:30 +0000293 basicUser: poBpmn
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000294 config:
295 cadi:
296 aafId: so@so.onap.org
297 aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
298 apiEnforcement: org.onap.so.openStackAdapterPerm
299 noAuthn: /manage/health
300 db:
301 auth: Basic YnBlbDpwYXNzd29yZDEk
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100302
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000303so-request-db-adapter:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100304 db:
305 <<: *dbSecrets
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000306 mso:
307 config:
308 cadi:
309 aafId: so@so.onap.org
310 aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
311 apiEnforcement: org.onap.so.requestDbAdapterPerm
312 noAuthn: /manage/health
313 adapters:
314 requestDb:
315 auth: Basic YnBlbDpwYXNzd29yZDEk
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100316
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000317so-sdc-controller:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100318 db:
319 <<: *dbSecrets
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000320 aai:
321 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
322 mso:
323 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
324 config:
325 cadi:
326 aafId: so@so.onap.org
327 aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
328 apiEnforcement: org.onap.so.sdcControllerPerm
329 noAuthn: /manage/health
330 asdc:
331 config:
332 key: 566B754875657232314F5548556D3665
333 requestDb:
334 auth: Basic YnBlbDpwYXNzd29yZDEk
335 asdc-connections:
336 asdc-controller1:
337 password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
338so-sdnc-adapter:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100339 db:
340 <<: *dbSecrets
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000341 org:
342 onap:
343 so:
344 adapters:
345 sdnc:
346 bpelauth: 4C18603C5AE7E3A42A6CED95CDF9C0BA9B2109B3725747662E5D34E5FDF63DA9ADEBB08185098F14699195FDE9475100
347 sdncauth: ED07A7EE5F099FA53369C3DF2240AD68A00154676EEDBC6F8C16BAA83B1912941B8941ABD48683D2C1072DA7040659692DE936A59BBF42A038CF71DE67B4A375190071EC76EA657801B033C135
348 network:
349 encryptionKey: 07a7159d3bf51a0e53be7a8f89699be7
350 mso:
351 config:
352 cadi:
353 aafId: so@so.onap.org
354 aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
355 apiEnforcement: org.onap.so.sdncAdapterPerm
356 noAuthn: /manage/health
357 adapters:
358 requestDb:
359 auth: Basic YnBlbDpwYXNzd29yZDEk
360 rest:
361 aafEncrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100362
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000363so-vfc-adapter:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100364 db:
365 <<: *dbSecrets
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000366 mso:
367 config:
368 cadi:
369 aafId: so@so.onap.org
370 aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
371 apiEnforcement: org.onap.so.vfcAdapterPerm
372 noAuthn: /manage/health
373 adapters:
374 requestDb:
375 auth: Basic YnBlbDpwYXNzd29yZDEk
376so-vnfm-adapter:
377 aaf:
378 auth:
379 username: so@so.onap.org
380 password: 8DB1C939BFC6A35C3832D0E52E452D0E05AE2537AF142CECD125FF827C05A972FDD0F4700547DA
381 aai:
382 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
383 sdc:
384 username: mso
385 password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
386 key: 566B754875657232314F5548556D3665
387 mso:
388 key: 07a7159d3bf51a0e53be7a8f89699be7
389 config:
390 cadi:
391 aafId: so@so.onap.org
392 aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
393 apiEnforcement: org.onap.so.vnfmAdapterPerm
394 noAuthn: /manage/health
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100395
396so-monitoring:
397 db:
398 <<: *dbSecrets
399
400so-mariadb:
401 db:
402 rootPasswordExternalSecretLocalDb: *dbRootPassSecretName
403 rootPasswordExternalSecret: '{{ ternary .Values.db.rootPasswordExternalSecretLocalDb (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) .Values.global.mariadbGalera.localCluster }}'
404 backupCredsExternalSecret: *dbBackupCredsSecretName
405 userCredsExternalSecret: *dbUserCredsSecretName
406 adminCredsExternalSecret: *dbAdminCredsSecretName