Merge "[SO] update the so-etsi-nfvo-ns-lcm version"
[oom.git] / kubernetes / so / values.yaml
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
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.
14 #################################################################
15 # Global configuration defaults.
16 #################################################################
17 global:
18   nodePortPrefix: 302
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
26   mariadbGalera:
27     nameOverride: mariadb-galera
28     serviceName: mariadb-galera
29     servicePort: '3306'
30     service: mariadb-galera
31     internalPort: '3306'
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
36     localCluster: false
37   persistence:
38     mountPath: /dockerdata-nfs
39   #This configuration specifies Service and port for SDNC OAM interface
40   sdncOamService: sdnc-oam
41   sdncOamPort: 8282
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.
44   migration:
45     enabled: false
46     dbHost: mariadb-galera
47     dbPort: 3306
48     dbUser: root
49     dbPassword: secretpassword
50     # dbCredsExternalSecret: some secret
51   msbEnabled: true
52   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
63   client:
64     certs:
65       truststore: /app/client/org.onap.so.trust.jks
66       keystore: /app/client/org.onap.so.jks
67       trustStorePassword: LHN4Iy5DKlcpXXdWZ0pDNmNjRkhJIzpI
68       keyStorePassword: c280b25hcA==
69   certificates:
70     path: /etc/ssl/certs
71     share_path: /usr/local/share/ca-certificates/
72
73 #################################################################
74 # Secrets metaconfig
75 #################################################################
76 secrets:
77   - uid: db-root-pass
78     name: &dbRootPassSecretName '{{ include "common.release" . }}-so-db-root-pass'
79     type: password
80     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 }}'
81     password: '{{ .Values.global.mariadbGalera.mariadbRootpassword }}'
82   - uid: db-backup-creds
83     name: &dbBackupCredsSecretName '{{ include "common.release" . }}-so-db-backup-creds'
84     type: basicAuth
85     externalSecret: '{{ ternary .Values.global.migration.dbCredsExternalSecret "migrationDisabled" .Values.global.migration.enabled }}'
86     login: '{{ ternary .Values.global.migration.dbUser "migrationDisabled" .Values.global.migration.enabled }}'
87     password: '{{ ternary .Values.global.migration.dbPassword "migrationDisabled" .Values.global.migration.enabled }}'
88     passwordPolicy: required
89     annotations:
90       helm.sh/hook: pre-upgrade,pre-install
91       helm.sh/hook-weight: '0'
92       helm.sh/hook-delete-policy: before-hook-creation
93   - uid: db-user-creds
94     name: &dbUserCredsSecretName '{{ include "common.release" . }}-so-db-user-creds'
95     type: basicAuth
96     externalSecret: '{{ .Values.dbCreds.userCredsExternalSecret }}'
97     login: '{{ .Values.dbCreds.userName }}'
98     password: '{{ .Values.dbCreds.userPassword }}'
99     passwordPolicy: generate
100   - uid: db-admin-creds
101     name: &dbAdminCredsSecretName '{{ include "common.release" . }}-so-db-admin-creds'
102     type: basicAuth
103     externalSecret: '{{ .Values.dbCreds.adminCredsExternalSecret }}'
104     login: '{{ .Values.dbCreds.adminName }}'
105     password: '{{ .Values.dbCreds.adminPassword }}'
106     passwordPolicy: generate
107   - uid: 'so-onap-certs'
108     name: &so-certs '{{ include "common.release" . }}-so-certs'
109     externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
110     type: generic
111     filePaths:
112       - resources/config/certificates/msb-ca.crt
113   - uid: 'mso-key'
114     name: &mso-key '{{ include "common.release" . }}-mso-key'
115     type: password
116     password: '{{ .Values.mso.msoKey }}'
117   - uid: mso-oof-auth
118     name: &mso-oof-auth '{{ include "common.release" . }}-mso-oof-auth'
119     type: basicAuth
120     login: '{{ .Values.mso.oof.login }}'
121     password: '{{ .Values.mso.oof.password }}'
122     passwordPolicy: required
123   - uid: server-actuator-creds
124     name: &actuator-secrets '{{ include "common.release" . }}-so-server-actuator-creds'
125     type: basicAuth
126     externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
127     login: '{{ .Values.server.actuator.username }}'
128     password: '{{ .Values.server.actuator.password }}'
129     passwordPolicy: required
130   - uid: server-bpel-creds
131     name: &bpel-secrets '{{ include "common.release" . }}-so-server-bpel-creds'
132     type: basicAuth
133     externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
134     login: '{{ .Values.server.bpel.username }}'
135     password: '{{ .Values.server.bpel.password }}'
136     passwordPolicy: required
137   - uid: so-aaf-creds
138     name: &aaf-secrets '{{ include "common.release" . }}-so-server-aaf-creds'
139     type: basicAuth
140     externalSecret: '{{ tpl (default "" .Values.server.aafCredsExternalSecret) . }}'
141     login: '{{ .Values.server.aaf.username }}'
142     password: '{{ .Values.server.aaf.password }}'
143     passwordPolicy: required
144   - uid: so-aai-creds
145     name: &aai-secrets '{{ include "common.release" . }}-so-server-aai-creds'
146     type: basicAuth
147     externalSecret: '{{ tpl (default "" .Values.server.aaiCredsExternalSecret) . }}'
148     login: '{{ .Values.server.aai.username }}'
149     password: '{{ .Values.server.aai.password }}'
150     passwordPolicy: required
151
152 aafConfig:
153   permission_user: 1000
154   permission_group: 999
155
156 aaf:
157   trustore: org.onap.so.trust.jks
158
159 #################################################################
160 # Application configuration defaults.
161 #################################################################
162
163 dbSecrets: &dbSecrets
164   userCredsExternalSecret: *dbUserCredsSecretName
165   adminCredsExternalSecret: *dbAdminCredsSecretName
166
167 # unused in this, just to pass to subcharts
168 dbCreds:
169   userName: so_user
170   adminName: so_admin
171
172 server:
173   aaf:
174     username: so@so.onap.org
175     password: demo123456
176   # aafCredsExternalSecret: some secret
177   aai:
178     username: aai@aai.onap.org
179     password: demo123456!
180   # aaiCredsExternalSecret: some secret
181   actuator:
182     username: mso_admin
183     password: password1$
184   # actuatorCredsExternalSecret: some secret
185   bpel:
186     username: bpel
187     password: password1$
188   # bpelCredsExternalSecret: some secret
189
190 repository: nexus3.onap.org:10001
191 image: onap/so/api-handler-infra:1.6.4
192 pullPolicy: Always
193
194 replicaCount: 1
195 minReadySeconds: 10
196
197 containerPort: &containerPort 8080
198
199 logPath: ./logs/apih/
200
201 app: api-handler-infra
202
203 service:
204   type: NodePort
205   nodePort: 77
206   internalPort: *containerPort
207   externalPort: *containerPort
208   portName: so-apih-port
209
210 updateStrategy:
211   type: RollingUpdate
212   maxUnavailable: 1
213   maxSurge: 1
214
215 #################################################################
216 # soHelpers part
217 #################################################################
218 soHelpers:
219   nameOverride: so-apih-cert-init
220   certInitializer:
221     nameOverride: so-apih-cert-init
222   credsPath: /opt/app/osaaf/local
223   certSecret: *so-certs
224   containerPort: *containerPort
225
226 # Resource Limit flavor -By Default using small
227 flavor: small
228 # Segregation for Different environment (Small and Large)
229 persistence:
230   certificatesPath: /certificates
231 resources:
232   small:
233     limits:
234       cpu: 2000m
235       memory: 4Gi
236     requests:
237       cpu: 500m
238       memory: 1Gi
239   large:
240     limits:
241       cpu: 4000m
242       memory: 8Gi
243     requests:
244       cpu: 1000m
245       memory: 2Gi
246   unlimited: {}
247
248 nodeSelector: {}
249 affinity: {}
250
251 # application configuration
252 config:
253   logstashServiceName: log-ls
254   logstashPort: 5044
255
256 #Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
257 #helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
258 #                                                       --set so.global.mariadbGalera.localCluster=true \
259 #                                                       --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
260 #                                                       --set so.global.mariadbGalera.serviceName=so-mariadb-galera
261 mariadb-galera:
262   config:
263     mariadbRootPasswordExternalSecret: *dbRootPassSecretName
264   nameOverride: so-mariadb-galera
265   replicaCount: 1
266   service:
267     name: so-mariadb-galera
268   persistence:
269     mountSubPath: so/mariadb-galera/data
270     enabled: true
271
272 ingress:
273   enabled: false
274   service:
275     - baseaddr: 'so.api'
276       name: 'so'
277       port: 8080
278   config:
279     ssl: 'none'
280
281 mso:
282   adapters:
283     requestDb:
284       auth: Basic YnBlbDpwYXNzd29yZDEk
285   camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
286   msoKey: 07a7159d3bf51a0e53be7a8f89699be7
287   sdc:
288     client:
289       auth: 878785F4F31BC9CFA5AB52A172008212D8845ED2DE08AD5E56AF114720A4E49768B8F95CDA2EB971765D28EDCDAA24
290   aai:
291     auth: 6E081E10B1CA43A843E303733A74D9B23B601A6E22A21C7EF2C7F15A42F81A1A4E85E65268C2661F71321052C7F3E55B96A8E1E951F8BF6F
292   oof:
293     login: test
294     password: testpwd
295   so:
296     operationalEnv:
297       dmaap:
298         auth: 51EA5414022D7BE536E7516C4D1A6361416921849B72C0D6FC1C7F262FD9F2BBC2AD124190A332D9845A188AD80955567A4F975C84C221EEA8243BFD92FFE6896CDD1EA16ADD34E1E3D47D4A
299   health:
300     auth: basic bXNvX2FkbWlufHBhc3N3b3JkMSQ=
301
302 so-appc-orchestrator:
303   enabled: true
304   server:
305     actuatorCredsExternalSecret: *actuator-secrets
306   db:
307     <<: *dbSecrets
308
309 so-bpmn-infra:
310   db:
311     <<: *dbSecrets
312
313 so-catalog-db-adapter:
314   enabled: true
315   db:
316     <<: *dbSecrets
317
318 so-cnf-adapter:
319   enabled: true
320   server:
321     aafCredsExternalSecret: *aaf-secrets
322     aaiCredsExternalSecret: *aai-secrets
323     actuatorCredsExternalSecret: *actuator-secrets
324   mso:
325     msoKeySecret: *mso-key
326
327 so-etsi-nfvo-ns-lcm:
328   enabled: true
329   db:
330     <<: *dbSecrets
331
332 so-mariadb:
333   db:
334     rootPasswordExternalSecretLocalDb: *dbRootPassSecretName
335     rootPasswordExternalSecret: '{{ ternary .Values.db.rootPasswordExternalSecretLocalDb (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) .Values.global.mariadbGalera.localCluster }}'
336     backupCredsExternalSecret: *dbBackupCredsSecretName
337     userCredsExternalSecret: *dbUserCredsSecretName
338     adminCredsExternalSecret: *dbAdminCredsSecretName
339
340 so-monitoring:
341   enabled: true
342   db:
343     <<: *dbSecrets
344
345 so-nssmf-adapter:
346   enabled: true
347   server:
348     actuatorCredsExternalSecret: *actuator-secrets
349     bpelCredsExternalSecret: *bpel-secrets
350   db:
351     <<: *dbSecrets
352
353 so-oof-adapter:
354   enabled: true
355   db:
356     <<: *dbSecrets
357   mso:
358     msoKeySecret: *mso-key
359     camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
360     oof:
361       authSecret: *mso-oof-auth
362
363 so-openstack-adapter:
364   enabled: true
365   db:
366     <<: *dbSecrets
367
368 so-request-db-adapter:
369   db:
370     <<: *dbSecrets
371
372 so-sdc-controller:
373   db:
374     <<: *dbSecrets
375
376 so-sdnc-adapter:
377   enabled: true
378   db:
379     <<: *dbSecrets
380
381 so-ve-vnfm-adapter:
382   enabled: true
383
384 so-vfc-adapter:
385   enabled: true
386   db:
387     <<: *dbSecrets
388
389 so-vnfm-adapter:
390   enabled: true