1 # Copyright © 2018 AT&T USA
2 # Copyright © 2020 Huawei
3 # Copyright © 2021 Orange
4 # 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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
20 nodePortPrefixExt: 304
21 aafAgentImage: onap/aaf/aaf_agent:2.1.20
23 nameOverride: mariadb-galera
24 serviceName: mariadb-galera
26 service: mariadb-galera
28 # mariadbRootPassword: secretpassword
29 # rootPasswordExternalSecret: some secret
30 #This flag allows SO to instantiate its own mariadb-galera cluster,
31 #serviceName and nameOverride should be so-mariadb-galera if this flag is enabled
34 mountPath: /dockerdata-nfs
35 #This configuration specifies Service and port for SDNC OAM interface
36 sdncOamService: sdnc-oam
38 #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.
42 dbHost: mariadb-galera
45 dbPassword: secretpassword
46 # dbCredsExternalSecret: some secret
53 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
54 encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
57 auth: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
58 defaultCloudOwner: onap
62 truststore: /app/client/org.onap.so.trust.jks
63 keystore: /app/client/org.onap.so.jks
64 trustStorePassword: LHN4Iy5DKlcpXXdWZ0pDNmNjRkhJIzpI
65 keyStorePassword: c280b25hcA==
68 share_path: /usr/local/share/ca-certificates/
74 #################################################################
76 #################################################################
79 name: &dbRootPassSecretName '{{ include "common.release" . }}-so-db-root-pass'
81 externalSecret: '{{ .Values.global.mariadbGalera.localCluster | ternary
82 .Values.global.mariadbGalera.rootPasswordExternalSecret
83 (default (include "common.mariadb.secret.rootPassSecretName"
84 (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride))
85 .Values.global.mariadbGalera.rootPasswordExternalSecret) }}'
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
113 name: &mso-key '{{ include "common.release" . }}-mso-key'
115 password: '{{ .Values.mso.msoKey }}'
117 name: &mso-oof-auth '{{ include "common.release" . }}-mso-oof-auth'
119 login: '{{ .Values.mso.oof.login }}'
120 password: '{{ .Values.mso.oof.password }}'
121 passwordPolicy: required
122 - uid: server-actuator-creds
123 name: &actuator-secrets '{{ include "common.release" . }}-so-server-actuator-creds'
125 externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
126 login: '{{ .Values.server.actuator.username }}'
127 password: '{{ .Values.server.actuator.password }}'
128 passwordPolicy: required
129 - uid: server-bpel-creds
130 name: &bpel-secrets '{{ include "common.release" . }}-so-server-bpel-creds'
132 externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
133 login: '{{ .Values.server.bpel.username }}'
134 password: '{{ .Values.server.bpel.password }}'
135 passwordPolicy: required
137 name: &aaf-secrets '{{ include "common.release" . }}-so-server-aaf-creds'
139 externalSecret: '{{ tpl (default "" .Values.server.aafCredsExternalSecret) . }}'
140 login: '{{ .Values.server.aaf.username }}'
141 password: '{{ .Values.server.aaf.password }}'
142 passwordPolicy: required
144 name: &aai-secrets '{{ include "common.release" . }}-so-server-aai-creds'
146 externalSecret: '{{ tpl (default "" .Values.server.aaiCredsExternalSecret) . }}'
147 login: '{{ .Values.server.aai.username }}'
148 password: '{{ .Values.server.aai.password }}'
149 passwordPolicy: required
152 permission_user: 1000
153 permission_group: 999
156 trustore: org.onap.so.trust.jks
158 #################################################################
159 # Application configuration defaults.
160 #################################################################
162 dbSecrets: &dbSecrets
163 userCredsExternalSecret: *dbUserCredsSecretName
164 adminCredsExternalSecret: *dbAdminCredsSecretName
166 # unused in this, just to pass to subcharts
171 image: onap/so/api-handler-infra:1.7.11
175 username: so@so.onap.org
177 # aafCredsExternalSecret: some secret
179 username: aai@aai.onap.org
180 password: demo123456!
181 # aaiCredsExternalSecret: some secret
185 # actuatorCredsExternalSecret: some secret
189 # bpelCredsExternalSecret: some secret
194 containerPort: &containerPort 8080
195 logPath: ./logs/apih/
196 app: api-handler-infra
200 internalPort: *containerPort
201 externalPort: *containerPort
202 portName: so-apih-port
208 #################################################################
210 #################################################################
212 nameOverride: so-apih-cert-init
214 nameOverride: so-apih-cert-init
215 credsPath: /opt/app/osaaf/local
216 containerPort: *containerPort
218 # Resource Limit flavor -By Default using small
220 # Segregation for Different environment (Small and Large)
222 certificatesPath: /certificates
243 # application configuration
245 logstashServiceName: log-ls
248 #Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
249 #helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
250 # --set so.global.mariadbGalera.localCluster=true \
251 # --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
252 # --set so.global.mariadbGalera.serviceName=so-mariadb-galera
255 externalSecret: *dbRootPassSecretName
256 nameOverride: &so-mariadb so-mariadb-galera
259 mountSubPath: so/mariadb-galera/data
262 nameOverride: *so-mariadb
276 auth: Basic YnBlbDpwYXNzd29yZDEk
277 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
278 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
281 auth: 878785F4F31BC9CFA5AB52A172008212D8845ED2DE08AD5E56AF114720A4E49768B8F95CDA2EB971765D28EDCDAA24
283 auth: 6E081E10B1CA43A843E303733A74D9B23B601A6E22A21C7EF2C7F15A42F81A1A4E85E65268C2661F71321052C7F3E55B96A8E1E951F8BF6F
290 auth: 51EA5414022D7BE536E7516C4D1A6361416921849B72C0D6FC1C7F262FD9F2BBC2AD124190A332D9845A188AD80955567A4F975C84C221EEA8243BFD92FFE6896CDD1EA16ADD34E1E3D47D4A
292 auth: basic bXNvX2FkbWlufHBhc3N3b3JkMSQ=
294 so-appc-orchestrator:
297 actuatorCredsExternalSecret: *actuator-secrets
305 so-catalog-db-adapter:
315 aafCredsExternalSecret: *aaf-secrets
316 aaiCredsExternalSecret: *aai-secrets
317 actuatorCredsExternalSecret: *actuator-secrets
319 msoKeySecret: *mso-key
328 rootPasswordExternalSecretLocalDb: *dbRootPassSecretName
329 rootPasswordExternalSecret: '{{ ternary .Values.db.rootPasswordExternalSecretLocalDb (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) .Values.global.mariadbGalera.localCluster }}'
330 backupCredsExternalSecret: *dbBackupCredsSecretName
331 userCredsExternalSecret: *dbUserCredsSecretName
332 adminCredsExternalSecret: *dbAdminCredsSecretName
342 actuatorCredsExternalSecret: *actuator-secrets
343 bpelCredsExternalSecret: *bpel-secrets
352 msoKeySecret: *mso-key
353 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
355 authSecret: *mso-oof-auth
357 so-openstack-adapter:
362 so-request-db-adapter: