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
22 centralizedLoggingEnabled: true
24 nameOverride: mariadb-galera
25 serviceName: mariadb-galera
27 service: mariadb-galera
29 # mariadbRootPassword: secretpassword
30 # rootPasswordExternalSecret: some secret
31 #This flag allows SO to instantiate its own mariadb-galera cluster,
32 #serviceName and nameOverride should be so-mariadb-galera if this flag is enabled
35 mountPath: /dockerdata-nfs
36 #This configuration specifies Service and port for SDNC OAM interface
37 sdncOamService: sdnc-oam
39 #This configuration will run the migration. The configurations are for backing up the data
40 #from DB and then restoring it to the present versions preferred DB.
43 dbHost: mariadb-galera
46 dbPassword: secretpassword
47 # dbCredsExternalSecret: some secret
54 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
55 encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
58 auth: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
59 defaultCloudOwner: onap
63 share_path: /usr/local/share/ca-certificates/
68 - '{{ include "common.release" . }}-so-mariadb-config-job'
70 #################################################################
72 #################################################################
75 name: &dbRootPassSecretName '{{ include "common.release" . }}-so-db-root-pass'
77 externalSecret: '{{ .Values.global.mariadbGalera.localCluster | ternary
78 .Values.global.mariadbGalera.rootPasswordExternalSecret
79 (default (include "common.mariadb.secret.rootPassSecretName"
80 (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride))
81 .Values.global.mariadbGalera.rootPasswordExternalSecret) }}'
82 password: '{{ .Values.global.mariadbGalera.mariadbRootpassword }}'
83 - uid: db-backup-creds
84 name: &dbBackupCredsSecretName '{{ include "common.release" . }}-so-db-backup-creds'
86 externalSecret: '{{ ternary .Values.global.migration.dbCredsExternalSecret "migrationDisabled" .Values.global.migration.enabled }}'
87 login: '{{ ternary .Values.global.migration.dbUser "migrationDisabled" .Values.global.migration.enabled }}'
88 password: '{{ ternary .Values.global.migration.dbPassword "migrationDisabled" .Values.global.migration.enabled }}'
89 passwordPolicy: required
91 helm.sh/hook: pre-upgrade,pre-install
92 helm.sh/hook-weight: '0'
93 helm.sh/hook-delete-policy: before-hook-creation
95 name: &dbUserCredsSecretName '{{ include "common.release" . }}-so-db-user-creds'
97 externalSecret: '{{ .Values.dbCreds.userCredsExternalSecret }}'
98 login: '{{ .Values.dbCreds.userName }}'
99 password: '{{ .Values.dbCreds.userPassword }}'
100 passwordPolicy: generate
101 - uid: db-admin-creds
102 name: &dbAdminCredsSecretName '{{ include "common.release" . }}-so-db-admin-creds'
104 externalSecret: '{{ .Values.dbCreds.adminCredsExternalSecret }}'
105 login: '{{ .Values.dbCreds.adminName }}'
106 password: '{{ .Values.dbCreds.adminPassword }}'
107 passwordPolicy: generate
109 name: &mso-key '{{ include "common.release" . }}-mso-key'
111 password: '{{ .Values.mso.msoKey }}'
113 name: &mso-oof-auth '{{ include "common.release" . }}-mso-oof-auth'
115 login: '{{ .Values.mso.oof.login }}'
116 password: '{{ .Values.mso.oof.password }}'
117 passwordPolicy: required
118 - uid: server-actuator-creds
119 name: &actuator-secrets '{{ include "common.release" . }}-so-server-actuator-creds'
121 externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
122 login: '{{ .Values.server.actuator.username }}'
123 password: '{{ .Values.server.actuator.password }}'
124 passwordPolicy: required
125 - uid: server-bpel-creds
126 name: &bpel-secrets '{{ include "common.release" . }}-so-server-bpel-creds'
128 externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
129 login: '{{ .Values.server.bpel.username }}'
130 password: '{{ .Values.server.bpel.password }}'
131 passwordPolicy: required
133 name: &aaf-secrets '{{ include "common.release" . }}-so-server-aaf-creds'
135 externalSecret: '{{ tpl (default "" .Values.server.aafCredsExternalSecret) . }}'
136 login: '{{ .Values.server.aaf.username }}'
137 password: '{{ .Values.server.aaf.password }}'
138 passwordPolicy: required
140 name: &aai-secrets '{{ include "common.release" . }}-so-server-aai-creds'
142 externalSecret: '{{ tpl (default "" .Values.server.aaiCredsExternalSecret) . }}'
143 login: '{{ .Values.server.aai.username }}'
144 password: '{{ .Values.server.aai.password }}'
145 passwordPolicy: required
148 permission_user: 1000
149 permission_group: 999
152 trustore: org.onap.so.trust.jks
154 #################################################################
155 # AAF part for Ingress
156 #################################################################
158 nameOverride: so-tls-cert
159 aafDeployFqi: deployer@people.osaaf.org
160 aafDeployPass: demo123456!
161 # aafDeployCredsExternalSecret: some secret
164 public_fqdn: so.onap.org
165 fqi_namespace: org.onap.so
166 cadi_longitude: '0.0'
168 app_ns: org.osaaf.aaf
169 credsPath: /opt/app/osaaf/local
170 ingressTlsSecret: '{{ include "common.release" . }}-so-ingress-certs'
172 #################################################################
173 # Application configuration defaults.
174 #################################################################
176 dbSecrets: &dbSecrets
177 userCredsExternalSecret: *dbUserCredsSecretName
178 adminCredsExternalSecret: *dbAdminCredsSecretName
180 # unused in this, just to pass to subcharts
185 image: onap/so/api-handler-infra:1.10.0
189 username: so@so.onap.org
191 # aafCredsExternalSecret: some secret
193 username: aai@aai.onap.org
194 password: demo123456!
195 # aaiCredsExternalSecret: some secret
199 # actuatorCredsExternalSecret: some secret
203 # bpelCredsExternalSecret: some secret
208 containerPort: &containerPort 8080
209 logPath: ./logs/apih/
210 app: api-handler-infra
214 internalPort: *containerPort
215 externalPort: *containerPort
222 #################################################################
224 #################################################################
226 nameOverride: so-apih-cert-init
228 nameOverride: so-apih-cert-init
229 credsPath: /opt/app/osaaf/local
230 containerPort: *containerPort
232 # Resource Limit flavor -By Default using small
234 # Segregation for Different environment (Small and Large)
236 certificatesPath: /certificates
257 # application configuration
259 logstashServiceName: log-ls
261 # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
262 openStackKeystoneVersion: "KEYSTONE"
264 #Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
265 #helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
266 # --set so.global.mariadbGalera.localCluster=true \
267 # --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
268 # --set so.global.mariadbGalera.serviceName=so-mariadb-galera
271 externalSecret: *dbRootPassSecretName
272 nameOverride: &so-mariadb so-mariadb-galera
275 mountSubPath: so/mariadb-galera/data
278 nameOverride: *so-mariadb
288 secret: '{{ include "common.release" . }}-so-ingress-certs'
293 auth: Basic YnBlbDpwYXNzd29yZDEk
294 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
295 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
298 auth: 878785F4F31BC9CFA5AB52A172008212D8845ED2DE08AD5E56AF114720A4E49768B8F95CDA2EB971765D28EDCDAA24
300 auth: 6E081E10B1CA43A843E303733A74D9B23B601A6E22A21C7EF2C7F15A42F81A1A4E85E65268C2661F71321052C7F3E55B96A8E1E951F8BF6F
307 auth: 51EA5414022D7BE536E7516C4D1A6361416921849B72C0D6FC1C7F262FD9F2BBC2AD124190A332D9845A188AD80955567A4F975C84C221EEA8243BFD92FFE6896CDD1EA16ADD34E1E3D47D4A
309 auth: basic bXNvX2FkbWlufHBhc3N3b3JkMSQ=
311 so-appc-orchestrator:
314 actuatorCredsExternalSecret: *actuator-secrets
321 logConfigMapNamePrefix: '{{ include "common.release" . }}-so'
323 so-catalog-db-adapter:
333 aafCredsExternalSecret: *aaf-secrets
334 aaiCredsExternalSecret: *aai-secrets
335 actuatorCredsExternalSecret: *actuator-secrets
337 msoKeySecret: *mso-key
346 rootPasswordExternalSecretLocalDb: *dbRootPassSecretName
347 rootPasswordExternalSecret: '{{ ternary .Values.db.rootPasswordExternalSecretLocalDb (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) .Values.global.mariadbGalera.localCluster }}'
348 backupCredsExternalSecret: *dbBackupCredsSecretName
349 userCredsExternalSecret: *dbUserCredsSecretName
350 adminCredsExternalSecret: *dbAdminCredsSecretName
360 actuatorCredsExternalSecret: *actuator-secrets
361 bpelCredsExternalSecret: *bpel-secrets
370 msoKeySecret: *mso-key
371 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
373 authSecret: *mso-oof-auth
374 logConfigMapNamePrefix: '{{ include "common.release" . }}-so'
376 so-openstack-adapter:
380 logConfigMapNamePrefix: '{{ include "common.release" . }}-so'
382 so-request-db-adapter:
389 logConfigMapNamePrefix: '{{ include "common.release" . }}-so'
396 msoKeySecret: *mso-key
397 logConfigMapNamePrefix: '{{ include "common.release" . }}-so'
402 so-etsi-sol005-adapter:
407 so-etsi-sol003-adapter:
410 #Pods Service Account