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