[SO] Onboard ONAP CA during init phase
[oom.git] / kubernetes / so / values.yaml
1 # Copyright © 2018 AT&T USA
2 #
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   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.2
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25   soBaseImage: onap/so/base-image:1.0
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 will run the migration. The configurations are for backing up the data
38   #from DB and then restoring it to the present versions preferred DB.
39   migration:
40     enabled: false
41     dbHost: mariadb-galera
42     dbPort: 3306
43     dbUser: root
44     dbPassword: secretpassword
45     # dbCredsExternalSecret: some secret
46   msbEnabled: true
47   security:
48     aaf:
49       enabled: false
50   aaf:
51     auth:
52       header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
53       encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
54   app:
55     siteName: onapheat
56     auth: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
57     defaultCloudOwner: onap
58     cadi:
59       cadiLoglevel: DEBUG
60       cadiKeyFile: /app/org.onap.so.keyfile
61       cadiTrustStore: /app/org.onap.so.trust.jks
62       cadiTruststorePassword: enc:MFpuxKeYK6Eo6QXjDUjtOBbp0FthY7SB4mKSIJm_RWC
63       cadiLatitude: 38.4329
64       cadiLongitude: -90.43248
65       aafEnv: IST
66       aafApiVersion: 2.1
67       aafRootNs: org.onap.so
68       aafLocateUrl: https://aaf-locate.onap:8095
69       aafUrl: https://aaf-locate.onap:8095/locate/org.osaaf.aaf.service:2.1
70     msoKey: 07a7159d3bf51a0e53be7a8f89699be7
71   client:
72     certs:
73       trustStorePassword: b25hcDRzbw==
74       keyStorePassword: c280b25hcA==
75   certificates:
76     path: /etc/ssl/certs
77     share_path: /usr/local/share/ca-certificates/
78
79 #################################################################
80 # Secrets metaconfig
81 #################################################################
82 secrets:
83   - uid: db-root-pass
84     name: &dbRootPassSecretName '{{ include "common.release" . }}-so-db-root-pass'
85     type: password
86     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 }}'
87     password: '{{ .Values.global.mariadbGalera.mariadbRootpassword }}'
88   - uid: db-backup-creds
89     name: &dbBackupCredsSecretName '{{ include "common.release" . }}-so-db-backup-creds'
90     type: basicAuth
91     externalSecret: '{{ ternary .Values.global.migration.dbCredsExternalSecret "migrationDisabled" .Values.global.migration.enabled }}'
92     login: '{{ ternary .Values.global.migration.dbUser "migrationDisabled" .Values.global.migration.enabled }}'
93     password: '{{ ternary .Values.global.migration.dbPassword "migrationDisabled" .Values.global.migration.enabled }}'
94     passwordPolicy: required
95     annotations:
96       helm.sh/hook: pre-upgrade,pre-install
97       helm.sh/hook-weight: "0"
98       helm.sh/hook-delete-policy: before-hook-creation
99   - uid: db-user-creds
100     name: &dbUserCredsSecretName '{{ include "common.release" . }}-so-db-user-creds'
101     type: basicAuth
102     externalSecret: '{{ .Values.dbCreds.userCredsExternalSecret }}'
103     login: '{{ .Values.dbCreds.userName }}'
104     password: '{{ .Values.dbCreds.userPassword }}'
105     passwordPolicy: generate
106   - uid: db-admin-creds
107     name: &dbAdminCredsSecretName '{{ include "common.release" . }}-so-db-admin-creds'
108     type: basicAuth
109     externalSecret: '{{ .Values.dbCreds.adminCredsExternalSecret }}'
110     login: '{{ .Values.dbCreds.adminName }}'
111     password: '{{ .Values.dbCreds.adminPassword }}'
112     passwordPolicy: generate
113   - uid: "so-onap-certs"
114     name: &so-certs '{{ include "common.release" . }}-so-certs'
115     externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
116     type: generic
117     filePaths:
118       - resources/config/certificates/onap-ca.crt
119       - resources/config/certificates/msb-ca.crt
120
121 #################################################################
122 # Application configuration defaults.
123 #################################################################
124
125 dbSecrets: &dbSecrets
126   userCredsExternalSecret: *dbUserCredsSecretName
127   adminCredsExternalSecret: *dbAdminCredsSecretName
128
129 # unused in this, just to pass to subcharts
130 dbCreds:
131   userName: so_user
132   adminName: so_admin
133
134 repository: nexus3.onap.org:10001
135 image: onap/so/api-handler-infra:1.5.3
136
137 pullPolicy: Always
138 replicaCount: 1
139 minReadySeconds: 10
140 containerPort: 8080
141 logPath: ./logs/apih/
142 app: api-handler-infra
143 service:
144     type: NodePort
145     nodePort: 77
146     internalPort: 8080
147     externalPort: 8080
148     portName: so-apih-port
149 updateStrategy:
150     type: RollingUpdate
151     maxUnavailable: 1
152     maxSurge: 1
153 # Resource Limit flavor -By Default using small
154 flavor: small
155 # Segregation for Different environment (Small and Large)
156 persistence:
157   certificatesPath: /certificates
158 resources:
159   small:
160     limits:
161       cpu: 2000m
162       memory: 4Gi
163     requests:
164       cpu: 500m
165       memory: 1Gi
166   large:
167     limits:
168       cpu: 4000m
169       memory: 8Gi
170     requests:
171       cpu: 1000m
172       memory: 2Gi
173   unlimited: {}
174 livenessProbe:
175     path: /manage/health
176     scheme: HTTP
177     initialDelaySeconds: 600
178     periodSeconds: 60
179     timeoutSeconds: 10
180     successThreshold: 1
181     failureThreshold: 3
182
183 nodeSelector: {}
184 affinity: {}
185
186 # application configuration
187 config:
188   logstashServiceName: log-ls
189   logstashPort: 5044
190
191 #Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
192 #helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
193 #                                                       --set so.global.mariadbGalera.localCluster=true \
194 #                                                       --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
195 #                                                       --set so.global.mariadbGalera.serviceName=so-mariadb-galera
196 mariadb-galera:
197   config:
198     mariadbRootPasswordExternalSecret: *dbRootPassSecretName
199   nameOverride: so-mariadb-galera
200   replicaCount: 1
201   service:
202     name: so-mariadb-galera
203   persistence:
204     mountSubPath: so/mariadb-galera/data
205     enabled: true
206
207 ingress:
208   enabled: false
209   service:
210     - baseaddr: "so"
211       name: "so"
212       port: 8080
213   config:
214     ssl: "none"
215
216 mso:
217   adapters:
218     requestDb:
219       auth: Basic YnBlbDpwYXNzd29yZDEk
220   config:
221     cadi:
222       aafId: so@so.onap.org
223       aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
224       apiEnforcement: org.onap.so.apihPerm
225       noAuthn: /manage/health
226   camundaAuth: AE2E9BE6EF9249085AF98689C4EE087736A5500629A72F35068FFB88813A023581DD6E765071F1C04075B36EA4213A
227   sdc:
228     client:
229       auth: 878785F4F31BC9CFA5AB52A172008212D8845ED2DE08AD5E56AF114720A4E49768B8F95CDA2EB971765D28EDCDAA24
230   aai:
231     auth: 6E081E10B1CA43A843E303733A74D9B23B601A6E22A21C7EF2C7F15A42F81A1A4E85E65268C2661F71321052C7F3E55B96A8E1E951F8BF6F
232   so:
233     operationalEnv:
234       dmaap:
235         auth: 51EA5414022D7BE536E7516C4D1A6361416921849B72C0D6FC1C7F262FD9F2BBC2AD124190A332D9845A188AD80955567A4F975C84C221EEA8243BFD92FFE6896CDD1EA16ADD34E1E3D47D4A
236   health:
237     auth: basic bXNvX2FkbWlufHBhc3N3b3JkMSQ=
238
239 so-bpmn-infra:
240   certSecret: *so-certs
241   db:
242     <<: *dbSecrets
243   cds:
244     auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
245   aai:
246     auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885
247   mso:
248     key: 07a7159d3bf51a0e53be7a8f89699be7
249     adapters:
250       requestDb:
251         auth: Basic YnBlbDpwYXNzd29yZDEk
252       db:
253         auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
254         password: wLg4sjrAFUS8rfVfdvTXeQ==
255       po:
256         auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
257     config:
258       cadi:
259         aafId: so@so.onap.org
260         aaafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
261         apiEnforcement: org.onap.so.bpmnPerm
262         noAuthn: /manage/health
263     sdnc:
264       password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F
265     sniro:
266       auth: test:testpwd
267       endpoint: http://replaceme:28090/optimizationInstance/V1/create
268     oof:
269       auth: test:testpwd
270   so:
271     vnfm:
272       adapter:
273         auth: Basic dm5mbTpwYXNzd29yZDEk
274
275 so-catalog-db-adapter:
276   certSecret: *so-certs
277   db:
278     <<: *dbSecrets
279   mso:
280     config:
281       cadi:
282         aafId: so@so.onap.org
283         aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
284         apiEnforcement: org.onap.so.catalogDbAdapterPerm
285         noAuthn: /manage/health
286     adapters:
287       db:
288         auth: Basic YnBlbDpwYXNzd29yZDEk
289
290 so-monitoring:
291   certSecret: *so-certs
292   db:
293     <<: *dbSecrets
294
295 so-openstack-adapter:
296   certSecret: *so-certs
297   db:
298     <<: *dbSecrets
299   aaf:
300     auth:
301       encrypted: 7F182B0C05D58A23A1C4966B9CDC9E0B8BC5CD53BC8C7B4083D869F8D53E9BDC3EFD55C94B1D3F
302   aai:
303     auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
304   org:
305     onap:
306       so:
307         adapters:
308           bpelauth: D1A67FA93B6A6419132D0F83CC771AF774FD3C60853C50C22C8C6FC5088CC79E9E81EDE9EA39F22B2F66A0068E
309           valet:
310             basic_auth: bXNvOkphY2tkYXdzIGxvdmUgbXkgYmlnIHNwaGlueCBvZiBxdWFydHouCg==
311   mso:
312     msoKey: 07a7159d3bf51a0e53be7a8f89699be7
313     auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4
314     basicUser: poBpmn
315     config:
316       cadi:
317         aafId: so@so.onap.org
318         aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
319         apiEnforcement: org.onap.so.openStackAdapterPerm
320         noAuthn: /manage/health
321     db:
322       auth: Basic YnBlbDpwYXNzd29yZDEk
323
324 so-request-db-adapter:
325   certSecret: *so-certs
326   db:
327     <<: *dbSecrets
328   mso:
329     config:
330       cadi:
331         aafId: so@so.onap.org
332         aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
333         apiEnforcement: org.onap.so.requestDbAdapterPerm
334         noAuthn: /manage/health
335     adapters:
336       requestDb:
337         auth: Basic YnBlbDpwYXNzd29yZDEk
338
339 so-sdc-controller:
340   certSecret: *so-certs
341   db:
342     <<: *dbSecrets
343   aai:
344     auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
345   mso:
346     msoKey: 07a7159d3bf51a0e53be7a8f89699be7
347     config:
348       cadi:
349         aafId: so@so.onap.org
350         aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
351         apiEnforcement: org.onap.so.sdcControllerPerm
352         noAuthn: /manage/health
353     asdc:
354       config:
355         key: 566B754875657232314F5548556D3665
356     requestDb:
357       auth: Basic YnBlbDpwYXNzd29yZDEk
358     asdc-connections:
359       asdc-controller1:
360         password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
361
362 so-sdnc-adapter:
363   certSecret: *so-certs
364   db:
365     <<: *dbSecrets
366   org:
367     onap:
368       so:
369         adapters:
370           sdnc:
371             bpelauth: 4C18603C5AE7E3A42A6CED95CDF9C0BA9B2109B3725747662E5D34E5FDF63DA9ADEBB08185098F14699195FDE9475100
372             sdncauth: ED07A7EE5F099FA53369C3DF2240AD68A00154676EEDBC6F8C16BAA83B1912941B8941ABD48683D2C1072DA7040659692DE936A59BBF42A038CF71DE67B4A375190071EC76EA657801B033C135
373             network:
374                 encryptionKey: 07a7159d3bf51a0e53be7a8f89699be7
375   mso:
376     config:
377       cadi:
378         aafId: so@so.onap.org
379         aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
380         apiEnforcement: org.onap.so.sdncAdapterPerm
381         noAuthn: /manage/health
382     adapters:
383       requestDb:
384         auth: Basic YnBlbDpwYXNzd29yZDEk
385     rest:
386       aafEncrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
387
388 so-ve-vnfm-adapter:
389   certSecret: *so-certs
390
391 so-vfc-adapter:
392   certSecret: *so-certs
393   db:
394     <<: *dbSecrets
395   mso:
396     config:
397       cadi:
398         aafId: so@so.onap.org
399         aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
400         apiEnforcement: org.onap.so.vfcAdapterPerm
401         noAuthn: /manage/health
402     adapters:
403       requestDb:
404         auth: Basic YnBlbDpwYXNzd29yZDEk
405
406 so-vnfm-adapter:
407   certSecret: *so-certs
408   aaf:
409     auth:
410       username: so@so.onap.org
411       password: 8DB1C939BFC6A35C3832D0E52E452D0E05AE2537AF142CECD125FF827C05A972FDD0F4700547DA
412   aai:
413     auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
414   sdc:
415     username: mso
416     password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
417     key: 566B754875657232314F5548556D3665
418   mso:
419     key: 07a7159d3bf51a0e53be7a8f89699be7
420     config:
421       cadi:
422         aafId: so@so.onap.org
423         aafPassword: enc:EME-arXn2lx8PO0f2kEtyK7VVGtAGWavXorFoxRmPO9
424         apiEnforcement: org.onap.so.vnfmAdapterPerm
425         noAuthn: /manage/health
426
427 so-mariadb:
428   db:
429     rootPasswordExternalSecretLocalDb: *dbRootPassSecretName
430     rootPasswordExternalSecret: '{{ ternary .Values.db.rootPasswordExternalSecretLocalDb (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) .Values.global.mariadbGalera.localCluster }}'
431     backupCredsExternalSecret: *dbBackupCredsSecretName
432     userCredsExternalSecret: *dbUserCredsSecretName
433     adminCredsExternalSecret: *dbAdminCredsSecretName