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/
65 soSdcListenerKafkaUser: so-sdc-list-user
70 - '{{ include "common.release" . }}-so-mariadb-config-job'
72 #################################################################
74 #################################################################
77 name: &dbRootPassSecretName '{{ include "common.release" . }}-so-db-root-pass'
79 externalSecret: '{{ .Values.global.mariadbGalera.localCluster | ternary
80 .Values.global.mariadbGalera.rootPasswordExternalSecret
81 (default (include "common.mariadb.secret.rootPassSecretName"
82 (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride))
83 .Values.global.mariadbGalera.rootPasswordExternalSecret) }}'
84 password: '{{ .Values.global.mariadbGalera.mariadbRootpassword }}'
85 - uid: db-backup-creds
86 name: &dbBackupCredsSecretName '{{ include "common.release" . }}-so-db-backup-creds'
88 externalSecret: '{{ ternary .Values.global.migration.dbCredsExternalSecret "migrationDisabled" .Values.global.migration.enabled }}'
89 login: '{{ ternary .Values.global.migration.dbUser "migrationDisabled" .Values.global.migration.enabled }}'
90 password: '{{ ternary .Values.global.migration.dbPassword "migrationDisabled" .Values.global.migration.enabled }}'
91 passwordPolicy: required
93 helm.sh/hook: pre-upgrade,pre-install
94 helm.sh/hook-weight: '0'
95 helm.sh/hook-delete-policy: before-hook-creation
97 name: &dbUserCredsSecretName '{{ include "common.release" . }}-so-db-user-creds'
99 externalSecret: '{{ .Values.dbCreds.userCredsExternalSecret }}'
100 login: '{{ .Values.dbCreds.userName }}'
101 password: '{{ .Values.dbCreds.userPassword }}'
102 passwordPolicy: generate
103 - uid: db-admin-creds
104 name: &dbAdminCredsSecretName '{{ include "common.release" . }}-so-db-admin-creds'
106 externalSecret: '{{ .Values.dbCreds.adminCredsExternalSecret }}'
107 login: '{{ .Values.dbCreds.adminName }}'
108 password: '{{ .Values.dbCreds.adminPassword }}'
109 passwordPolicy: generate
111 name: &mso-key '{{ include "common.release" . }}-mso-key'
113 password: '{{ .Values.mso.msoKey }}'
115 name: &mso-oof-auth '{{ include "common.release" . }}-mso-oof-auth'
117 login: '{{ .Values.mso.oof.login }}'
118 password: '{{ .Values.mso.oof.password }}'
119 passwordPolicy: required
120 - uid: server-actuator-creds
121 name: &actuator-secrets '{{ include "common.release" . }}-so-server-actuator-creds'
123 externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
124 login: '{{ .Values.server.actuator.username }}'
125 password: '{{ .Values.server.actuator.password }}'
126 passwordPolicy: required
127 - uid: server-bpel-creds
128 name: &bpel-secrets '{{ include "common.release" . }}-so-server-bpel-creds'
130 externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
131 login: '{{ .Values.server.bpel.username }}'
132 password: '{{ .Values.server.bpel.password }}'
133 passwordPolicy: required
135 name: &aaf-secrets '{{ include "common.release" . }}-so-server-aaf-creds'
137 externalSecret: '{{ tpl (default "" .Values.server.aafCredsExternalSecret) . }}'
138 login: '{{ .Values.server.aaf.username }}'
139 password: '{{ .Values.server.aaf.password }}'
140 passwordPolicy: required
142 name: &aai-secrets '{{ include "common.release" . }}-so-server-aai-creds'
144 externalSecret: '{{ tpl (default "" .Values.server.aaiCredsExternalSecret) . }}'
145 login: '{{ .Values.server.aai.username }}'
146 password: '{{ .Values.server.aai.password }}'
147 passwordPolicy: required
150 permission_user: 1000
151 permission_group: 999
154 trustore: org.onap.so.trust.jks
156 #################################################################
157 # AAF part for Ingress
158 #################################################################
160 nameOverride: so-tls-cert
161 aafDeployFqi: deployer@people.osaaf.org
162 aafDeployPass: demo123456!
163 # aafDeployCredsExternalSecret: some secret
166 public_fqdn: so.onap.org
167 fqi_namespace: org.onap.so
168 cadi_longitude: '0.0'
170 app_ns: org.osaaf.aaf
171 credsPath: /opt/app/osaaf/local
172 ingressTlsSecret: '{{ include "common.release" . }}-so-ingress-certs'
174 #################################################################
175 # Application configuration defaults.
176 #################################################################
178 dbSecrets: &dbSecrets
179 userCredsExternalSecret: *dbUserCredsSecretName
180 adminCredsExternalSecret: *dbAdminCredsSecretName
182 # unused in this, just to pass to subcharts
187 image: onap/so/api-handler-infra:1.11.0
191 username: so@so.onap.org
193 # aafCredsExternalSecret: some secret
195 username: aai@aai.onap.org
196 password: demo123456!
197 # aaiCredsExternalSecret: some secret
201 # actuatorCredsExternalSecret: some secret
205 # bpelCredsExternalSecret: some secret
210 containerPort: &containerPort 8080
211 logPath: ./logs/apih/
212 app: api-handler-infra
216 internalPort: *containerPort
217 externalPort: *containerPort
224 #################################################################
226 #################################################################
228 nameOverride: so-apih-cert-init
230 nameOverride: so-apih-cert-init
231 credsPath: /opt/app/osaaf/local
232 containerPort: *containerPort
234 # Resource Limit flavor -By Default using small
236 # Segregation for Different environment (Small and Large)
238 certificatesPath: /certificates
259 # application configuration
261 logstashServiceName: log-ls
263 # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
264 openStackKeystoneVersion: "KEYSTONE"
266 #Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
267 #helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
268 # --set so.global.mariadbGalera.localCluster=true \
269 # --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
270 # --set so.global.mariadbGalera.serviceName=so-mariadb-galera
273 externalSecret: *dbRootPassSecretName
274 nameOverride: &so-mariadb so-mariadb-galera
277 mountSubPath: so/mariadb-galera/data
280 nameOverride: *so-mariadb
290 secret: '{{ include "common.release" . }}-so-ingress-certs'
295 auth: Basic YnBlbDpwYXNzd29yZDEk
296 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
297 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
300 auth: 878785F4F31BC9CFA5AB52A172008212D8845ED2DE08AD5E56AF114720A4E49768B8F95CDA2EB971765D28EDCDAA24
302 auth: 6E081E10B1CA43A843E303733A74D9B23B601A6E22A21C7EF2C7F15A42F81A1A4E85E65268C2661F71321052C7F3E55B96A8E1E951F8BF6F
309 auth: 51EA5414022D7BE536E7516C4D1A6361416921849B72C0D6FC1C7F262FD9F2BBC2AD124190A332D9845A188AD80955567A4F975C84C221EEA8243BFD92FFE6896CDD1EA16ADD34E1E3D47D4A
311 auth: basic bXNvX2FkbWlufHBhc3N3b3JkMSQ=
313 so-appc-orchestrator:
316 actuatorCredsExternalSecret: *actuator-secrets
323 logConfigMapNamePrefix: '{{ include "common.release" . }}-so'
325 so-catalog-db-adapter:
335 aafCredsExternalSecret: *aaf-secrets
336 aaiCredsExternalSecret: *aai-secrets
337 actuatorCredsExternalSecret: *actuator-secrets
339 msoKeySecret: *mso-key
348 rootPasswordExternalSecretLocalDb: *dbRootPassSecretName
349 rootPasswordExternalSecret: '{{ ternary .Values.db.rootPasswordExternalSecretLocalDb (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) .Values.global.mariadbGalera.localCluster }}'
350 backupCredsExternalSecret: *dbBackupCredsSecretName
351 userCredsExternalSecret: *dbUserCredsSecretName
352 adminCredsExternalSecret: *dbAdminCredsSecretName
362 actuatorCredsExternalSecret: *actuator-secrets
363 bpelCredsExternalSecret: *bpel-secrets
372 msoKeySecret: *mso-key
373 camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
375 authSecret: *mso-oof-auth
376 logConfigMapNamePrefix: '{{ include "common.release" . }}-so'
378 so-openstack-adapter:
382 logConfigMapNamePrefix: '{{ include "common.release" . }}-so'
384 so-request-db-adapter:
391 logConfigMapNamePrefix: '{{ include "common.release" . }}-so'
393 jaasConfExternalSecret: '{{ include "common.release" . }}-{{ .Values.global.soSdcListenerKafkaUser }}'
400 msoKeySecret: *mso-key
401 logConfigMapNamePrefix: '{{ include "common.release" . }}-so'
406 so-etsi-sol005-adapter:
411 so-etsi-sol003-adapter:
414 #Pods Service Account