Merge "Adding trust-store and trust-store-password params"
[oom.git] / kubernetes / oof / charts / oof-cmso / values.yaml
1 # Copyright © 2018 AT&T
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 #################################################################
16 # Secrets metaconfig
17 #################################################################
18 secrets:
19   - uid: cmso-db-root-password
20     name: '{{ include "common.release" . }}-cmso-db-root-password'
21     type: password
22     password: ''
23     policy: generate
24   - uid: cmso-db-secret
25     name: '{{ include "common.release" . }}-cmso-db-secret'
26     type: basicAuth
27     externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
28     login: '{{ .Values.config.db.userName }}'
29     password: '{{ .Values.config.db.userPassword }}'
30     passwordPolicy: generate
31
32 mariadb-galera:
33   replicaCount: 1
34   nameOverride: cmso-db
35   service:
36     type: ClusterIP
37     name: oof-cmso-dbhost
38     portName: cmso-dbhost
39   nfsprovisionerPrefix: cmso
40   sdnctlPrefix: cmso
41   persistence:
42     mountSubPath: cmso/data
43     enabled: true
44   disableNfsProvisioner: true
45   config:
46     mariadbRootPasswordExternalSecret: '{{ include "common.release" . }}-cmso-db-root-password'
47     userCredentialsExternalSecret: '{{ include "common.release" . }}-cmso-db-secret'
48     mysqlDatabase: cmso
49   externalConfig: |
50     [mysqld]
51     lower_case_table_names = 1
52
53 global:
54   commonConfigPrefix: "oof-cmso"
55   truststoreFile: "truststoreONAPall.jks"
56   keystoreFile: "org.onap.oof.jks"
57   loggingRepository: docker.elastic.co
58   loggingImage: beats/filebeat:5.5.0
59   keystorePassword: OA7*y0PEGTma?$be2z#0$:L]
60   truststorePassword:
61   authentication: aaf-auth
62   busyBoxImage: busybox:1.30
63   busyBoxRepository: docker.io
64
65 flavor: small
66
67 config:
68   log:
69     logstashServiceName: log-ls
70     logstashPort: 5044
71   db:
72     # userCredentialsExternalsecret: some secret
73     userName: cmso-admin
74     # userPassword: password
75
76 oof-cmso-service:
77   config:
78     db:
79       userCredentialsExternalSecret: '{{ include "common.release" . }}-cmso-db-secret'
80       rootPasswordExternalSecret: '{{ include "common.release" . }}-cmso-db-root-password'
81       host: oof-cmso-dbhost
82       container: cmso-db
83       mysqlDatabase: cmso
84
85 oof-cmso-optimizer:
86   config:
87     db:
88       userCredentialsExternalSecret: '{{ include "common.release" . }}-cmso-db-secret'
89       rootPasswordExternalSecret: '{{ include "common.release" . }}-cmso-db-root-password'
90       host: oof-cmso-dbhost
91       container: cmso-db
92       mysqlDatabase: optimizer