1 # Copyright © 2018 AT&T USA
2 # Copyright © 2020 Huawei
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
14 #################################################################
15 # Global configuration defaults.
16 #################################################################
19 nodePortPrefixExt: 304
20 repository: nexus3.onap.org:10001
21 readinessImage: onap/oom/readiness:3.0.1
22 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
24 soBaseImage: onap/so/base-image:1.0
25 aafAgentImage: onap/aaf/aaf_agent:2.1.20
27 nameOverride: mariadb-galera
28 serviceName: mariadb-galera
30 service: mariadb-galera
32 # mariadbRootPassword: secretpassword
33 # rootPasswordExternalSecret: some secret
34 #This flag allows SO to instantiate its own mariadb-galera cluster,
35 #serviceName and nameOverride should be so-mariadb-galera if this flag is enabled
38 mountPath: /dockerdata-nfs
39 #This configuration specifies Service and port for SDNC OAM interface
40 sdncOamService: sdnc-oam
42 #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.
46 dbHost: mariadb-galera
49 dbPassword: secretpassword
50 # dbCredsExternalSecret: some secret
57 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
58 encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
61 auth: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
62 defaultCloudOwner: onap
66 truststore: /app/client/org.onap.so.trust.jks
67 keystore: /app/client/org.onap.so.jks
68 trustStorePassword: LHN4Iy5DKlcpXXdWZ0pDNmNjRkhJIzpI
69 keyStorePassword: c280b25hcA==
72 share_path: /usr/local/share/ca-certificates/
78 #################################################################
80 #################################################################
83 name: &dbRootPassSecretName '{{ include "common.release" . }}-so-db-root-pass'
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'
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
95 helm.sh/hook: pre-upgrade,pre-install
96 helm.sh/hook-weight: '0'
97 helm.sh/hook-delete-policy: before-hook-creation
99 name: &dbUserCredsSecretName '{{ include "common.release" . }}-so-db-user-creds'
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'
108 externalSecret: '{{ .Values.dbCreds.adminCredsExternalSecret }}'
109 login: '{{ .Values.dbCreds.adminName }}'
110 password: '{{ .Values.dbCreds.adminPassword }}'
111 passwordPolicy: generate
112 - uid: 'so-onap-certs'
113 name: &so-certs '{{ include "common.release" . }}-so-certs'
114 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
117 - resources/config/certificates/msb-ca.crt
119 name: &mso-key '{{ include "common.release" . }}-mso-key'
121 password: '{{ .Values.mso.msoKey }}'
123 name: &mso-oof-auth '{{ include "common.release" . }}-mso-oof-auth'
125 login: '{{ .Values.mso.oof.login }}'
126 password: '{{ .Values.mso.oof.password }}'
127 passwordPolicy: required
128 - uid: server-actuator-creds
129 name: &actuator-secrets '{{ include "common.release" . }}-so-server-actuator-creds'
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'
138 externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
139 login: '{{ .Values.server.bpel.username }}'
140 password: '{{ .Values.server.bpel.password }}'
141 passwordPolicy: required
143 name: &aaf-secrets '{{ include "common.release" . }}-so-server-aaf-creds'
145 externalSecret: '{{ tpl (default "" .Values.server.aafCredsExternalSecret) . }}'
146 login: '{{ .Values.server.aaf.username }}'
147 password: '{{ .Values.server.aaf.password }}'
148 passwordPolicy: required
150 name: &aai-secrets '{{ include "common.release" . }}-so-server-aai-creds'
152 externalSecret: '{{ tpl (default "" .Values.server.aaiCredsExternalSecret) . }}'
153 login: '{{ .Values.server.aai.username }}'
154 password: '{{ .Values.server.aai.password }}'
155 passwordPolicy: required
158 permission_user: 1000
159 permission_group: 999
162 trustore: org.onap.so.trust.jks
164 #################################################################
165 # Application configuration defaults.
166 #################################################################
168 dbSecrets: &dbSecrets
169 userCredsExternalSecret: *dbUserCredsSecretName
170 adminCredsExternalSecret: *dbAdminCredsSecretName
172 # unused in this, just to pass to subcharts
178 repository: nexus3.onap.org:10001
179 image: onap/so/api-handler-infra:1.7.11
183 username: so@so.onap.org
185 # aafCredsExternalSecret: some secret
187 username: aai@aai.onap.org
188 password: demo123456!
189 # aaiCredsExternalSecret: some secret
193 # actuatorCredsExternalSecret: some secret
197 # bpelCredsExternalSecret: some secret
202 containerPort: &containerPort 8080
203 logPath: ./logs/apih/
204 app: api-handler-infra
208 internalPort: *containerPort
209 externalPort: *containerPort
210 portName: so-apih-port
216 #################################################################
218 #################################################################
220 nameOverride: so-apih-cert-init
222 nameOverride: so-apih-cert-init
223 credsPath: /opt/app/osaaf/local
224 certSecret: *so-certs
225 containerPort: *containerPort
227 # Resource Limit flavor -By Default using small
229 # Segregation for Different environment (Small and Large)
231 certificatesPath: /certificates
252 # application configuration
254 logstashServiceName: log-ls
257 #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
264 mariadbRootPasswordExternalSecret: *dbRootPassSecretName
265 nameOverride: so-mariadb-galera
268 name: so-mariadb-galera
270 mountSubPath: so/mariadb-galera/data
285 auth: Basic YnBlbDpwYXNzd29yZDEk
286 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
287 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
290 auth: 878785F4F31BC9CFA5AB52A172008212D8845ED2DE08AD5E56AF114720A4E49768B8F95CDA2EB971765D28EDCDAA24
292 auth: 6E081E10B1CA43A843E303733A74D9B23B601A6E22A21C7EF2C7F15A42F81A1A4E85E65268C2661F71321052C7F3E55B96A8E1E951F8BF6F
299 auth: 51EA5414022D7BE536E7516C4D1A6361416921849B72C0D6FC1C7F262FD9F2BBC2AD124190A332D9845A188AD80955567A4F975C84C221EEA8243BFD92FFE6896CDD1EA16ADD34E1E3D47D4A
301 auth: basic bXNvX2FkbWlufHBhc3N3b3JkMSQ=
303 so-appc-orchestrator:
306 actuatorCredsExternalSecret: *actuator-secrets
314 so-catalog-db-adapter:
324 aafCredsExternalSecret: *aaf-secrets
325 aaiCredsExternalSecret: *aai-secrets
326 actuatorCredsExternalSecret: *actuator-secrets
328 msoKeySecret: *mso-key
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
351 actuatorCredsExternalSecret: *actuator-secrets
352 bpelCredsExternalSecret: *bpel-secrets
361 msoKeySecret: *mso-key
362 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
364 authSecret: *mso-oof-auth
366 so-openstack-adapter:
371 so-request-db-adapter: