blob: 05df60bb0bb3706003b5487773c55c33e0db48e8 [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
Sylvain Desbureauxd24825b2020-11-03 15:52:44 +000063 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
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
Sylvain Desbureauxd24825b2020-11-03 15:52:44 +0000118 - uid: "mso-key"
Priyadharshini7dc03852020-08-27 04:36:03 -0700119 name: &mso-key '{{ include "common.release" . }}-mso-key'
120 type: password
Sylvain Desbureauxd24825b2020-11-03 15:52:44 +0000121 password: '{{ .Values.global.app.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
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100128
seshukm0df1f8e2020-08-17 21:45:49 +0530129aafConfig:
130 permission_user: 1000
131 permission_group: 999
132
133aaf:
134 trustore: org.onap.so.trust.jks
135
jmacc4f04d32018-10-12 18:24:24 +0000136#################################################################
137# Application configuration defaults.
138#################################################################
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100139
140dbSecrets: &dbSecrets
141 userCredsExternalSecret: *dbUserCredsSecretName
142 adminCredsExternalSecret: *dbAdminCredsSecretName
143
144# unused in this, just to pass to subcharts
145dbCreds:
146 userName: so_user
147 adminName: so_admin
148
Mike Elliottd32d36e2018-02-12 15:54:03 -0500149repository: nexus3.onap.org:10001
Kalkere Ramesh, Sharandf29b1e2020-11-13 15:51:37 -0500150image: onap/so/api-handler-infra:1.7.10
jmacc4f04d32018-10-12 18:24:24 +0000151pullPolicy: Always
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000152replicaCount: 1
153minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530154containerPort: &containerPort 8080
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000155logPath: ./logs/apih/
156app: api-handler-infra
157service:
seshukm0df1f8e2020-08-17 21:45:49 +0530158 type: NodePort
159 nodePort: 77
160 internalPort: *containerPort
161 externalPort: *containerPort
162 portName: so-apih-port
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000163updateStrategy:
seshukm0df1f8e2020-08-17 21:45:49 +0530164 type: RollingUpdate
165 maxUnavailable: 1
166 maxSurge: 1
167
168#################################################################
169# soHelpers part
170#################################################################
171soHelpers:
172 nameOverride: so-apih-cert-init
173 certInitializer:
174 nameOverride: so-apih-cert-init
175 credsPath: /opt/app/osaaf/local
176 certSecret: *so-certs
177 containerPort: *containerPort
178
Alexis de Talhouëta52efcc2018-09-18 16:46:12 -0400179# Resource Limit flavor -By Default using small
vaibhav16dec0da88292018-08-13 06:10:27 +0000180flavor: small
181# Segregation for Different environment (Small and Large)
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100182persistence:
183 certificatesPath: /certificates
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000184resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000185 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000186 limits:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000187 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000188 memory: 4Gi
189 requests:
190 cpu: 500m
191 memory: 1Gi
192 large:
193 limits:
194 cpu: 4000m
195 memory: 8Gi
196 requests:
197 cpu: 1000m
198 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000199 unlimited: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000200
Mike Elliottd32d36e2018-02-12 15:54:03 -0500201nodeSelector: {}
Brian Freeman1a667932018-09-06 14:45:37 -0500202affinity: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000203
sunilb0a97ab22020-02-25 10:18:48 +0530204# application configuration
205config:
206 logstashServiceName: log-ls
207 logstashPort: 5044
208
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000209#Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
210#helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
211# --set so.global.mariadbGalera.localCluster=true \
212# --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
213# --set so.global.mariadbGalera.serviceName=so-mariadb-galera
214mariadb-galera:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100215 config:
216 mariadbRootPasswordExternalSecret: *dbRootPassSecretName
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000217 nameOverride: so-mariadb-galera
218 replicaCount: 1
219 service:
220 name: so-mariadb-galera
221 persistence:
222 mountSubPath: so/mariadb-galera/data
223 enabled: true
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200224
225ingress:
226 enabled: false
227 service:
rope2524d3f3682020-09-02 20:49:21 +0100228 - baseaddr: 'so.api'
229 name: 'so'
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200230 port: 8080
231 config:
rope2524d3f3682020-09-02 20:49:21 +0100232 ssl: 'none'
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000233
234mso:
235 adapters:
236 requestDb:
237 auth: Basic YnBlbDpwYXNzd29yZDEk
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000238 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
239 sdc:
240 client:
241 auth: 878785F4F31BC9CFA5AB52A172008212D8845ED2DE08AD5E56AF114720A4E49768B8F95CDA2EB971765D28EDCDAA24
242 aai:
243 auth: 6E081E10B1CA43A843E303733A74D9B23B601A6E22A21C7EF2C7F15A42F81A1A4E85E65268C2661F71321052C7F3E55B96A8E1E951F8BF6F
Priyadharshini7dc03852020-08-27 04:36:03 -0700244 oof:
245 login: test
246 password: testpwd
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000247 so:
248 operationalEnv:
249 dmaap:
250 auth: 51EA5414022D7BE536E7516C4D1A6361416921849B72C0D6FC1C7F262FD9F2BBC2AD124190A332D9845A188AD80955567A4F975C84C221EEA8243BFD92FFE6896CDD1EA16ADD34E1E3D47D4A
251 health:
252 auth: basic bXNvX2FkbWlufHBhc3N3b3JkMSQ=
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100253
seshukm0df1f8e2020-08-17 21:45:49 +0530254so-appc-orchestrator:
Sylvain Desbureaux276c8e62020-11-02 17:51:15 +0100255 enabled: false
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100256 db:
257 <<: *dbSecrets
seshukm0df1f8e2020-08-17 21:45:49 +0530258
259so-bpmn-infra:
260 db:
261 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100262
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000263so-catalog-db-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530264 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100265 db:
266 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100267
AndrewLamb8e090442020-10-15 09:28:09 +0100268so-etsi-nfvo-ns-lcm:
269 enabled: true
rope2524d3f3682020-09-02 20:49:21 +0100270 db:
271 <<: *dbSecrets
AndrewLamb8e090442020-10-15 09:28:09 +0100272
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100273so-monitoring:
seshukm0df1f8e2020-08-17 21:45:49 +0530274 enabled: true
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100275 db:
276 <<: *dbSecrets
277
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000278so-openstack-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530279 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100280 db:
281 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100282
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000283so-request-db-adapter:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100284 db:
285 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100286
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000287so-sdc-controller:
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100288 db:
289 <<: *dbSecrets
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100290
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000291so-sdnc-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530292 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100293 db:
294 <<: *dbSecrets
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100295
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100296so-ve-vnfm-adapter:
Sylvain Desbureaux28d56562020-11-02 17:54:05 +0100297 enabled: false
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100298
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000299so-vfc-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530300 enabled: true
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +0100301 db:
302 <<: *dbSecrets
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100303
Sylvain Desbureauxd24825b2020-11-03 15:52:44 +0000304so-nssmf-adapter:
305 enabled: true
306 db:
307 <<: *dbSecrets
308
309so-oof-adapter:
310 enabled: true
311 db:
312 <<: *dbSecrets
313 mso:
314 msoKeySecret: *mso-key
315 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
316 oof:
317 authSecret: *mso-oof-auth
318
Ramesh Parthasarathy95dc1c92020-02-05 17:02:28 +0000319so-vnfm-adapter:
seshukm0df1f8e2020-08-17 21:45:49 +0530320 enabled: true
Sylvain Desbureauxd24825b2020-11-03 15:52:44 +0000321
322so-mariadb:
323 db:
324 rootPasswordExternalSecretLocalDb: *dbRootPassSecretName
325 rootPasswordExternalSecret: '{{ ternary .Values.db.rootPasswordExternalSecretLocalDb (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) .Values.global.mariadbGalera.localCluster }}'
326 backupCredsExternalSecret: *dbBackupCredsSecretName
327 userCredsExternalSecret: *dbUserCredsSecretName
328 adminCredsExternalSecret: *dbAdminCredsSecretName