Merge "Added fix for OOM-1966"
[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: N{$tSp*U)RQzjqE;)%4z;Pv[
60   truststorePassword:
61   authentication: aaf-auth
62
63 flavor: small
64
65 config:
66   log:
67     logstashServiceName: log-ls
68     logstashPort: 5044
69   db:
70     # userCredentialsExternalsecret: some secret
71     userName: cmso-admin
72     # userPassword: password
73
74 oof-cmso-service:
75   config:
76     db:
77       userCredentialsExternalSecret: '{{ include "common.release" . }}-cmso-db-secret'
78       rootPasswordExternalSecret: '{{ include "common.release" . }}-cmso-db-root-password'
79       host: oof-cmso-dbhost
80       container: cmso-db
81       mysqlDatabase: cmso
82
83 oof-cmso-optimizer:
84   config:
85     db:
86       userCredentialsExternalSecret: '{{ include "common.release" . }}-cmso-db-secret'
87       rootPasswordExternalSecret: '{{ include "common.release" . }}-cmso-db-root-password'
88       host: oof-cmso-dbhost
89       container: cmso-db
90       mysqlDatabase: optimizer