Merge "[CONTRIB] Adjust EJBCA to issue certificates usable by servers."
[oom.git] / kubernetes / oof / charts / oof-cmso / values.yaml
1 # Copyright © 2018 AT&T
2 # Copyright (C) 2020 Wipro Limited.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 #################################################################
17 # Secrets metaconfig
18 #################################################################
19 secrets:
20   - uid: cmso-db-root-password
21     name: &rootPassword '{{ include "common.release" . }}-cmso-db-root-password'
22     type: password
23     password: ''
24     policy: generate
25   - uid: cmso-service-db-secret
26     name: &serviceDbCreds '{{ include "common.release" . }}-cmso-service-db-secret'
27     type: basicAuth
28     externalSecret: '{{ tpl (default "" .Values.config.db.service.userCredentialsExternalSecret) . }}'
29     login: '{{ .Values.config.db.service.userName }}'
30     password: '{{ .Values.config.db.service.userPassword }}'
31     passwordPolicy: generate
32   - uid: cmso-db-secret
33     name: &optimizerDbCreds '{{ include "common.release" . }}-cmso-optimizer-db-secret'
34     type: basicAuth
35     externalSecret: '{{ tpl (default "" .Values.config.db.optimizer.userCredentialsExternalSecret) . }}'
36     login: '{{ .Values.config.db.optimizer.userName }}'
37     password: '{{ .Values.config.db.optimizer.userPassword }}'
38     passwordPolicy: generate
39
40 mariadb-galera:
41   replicaCount: 1
42   nameOverride: &containerName cmso-db
43   service:
44     type: ClusterIP
45     name: &serviceName oof-cmso-dbhost
46     portName: cmso-dbhost
47   nfsprovisionerPrefix: cmso
48   sdnctlPrefix: cmso
49   persistence:
50     mountSubPath: cmso/data
51     enabled: true
52   disableNfsProvisioner: true
53   config:
54     mariadbRootPasswordExternalSecret: *rootPassword
55     #    userCredentialsExternalSecret: *dbCreds
56     #    mysqlDatabase: cmso
57   externalConfig: |
58     [mysqld]
59     lower_case_table_names = 1
60
61 global:
62   commonConfigPrefix: "oof-cmso"
63   truststoreFile: "truststoreONAPall.jks"
64   keystoreFile: "org.onap.oof.jks"
65   loggingRepository: docker.elastic.co
66   loggingImage: beats/filebeat:5.5.0
67   keystorePassword: OA7*y0PEGTma?$be2z#0$:L]
68   truststorePassword:
69   authentication: aaf-auth
70   busyBoxImage: busybox:1.30
71   busyBoxRepository: docker.io
72
73 mariadb-init:
74   mariadbGalera:
75     containerName: *containerName
76     serviceName: *serviceName
77     servicePort: 3306
78     userRootSecret: *rootPassword
79   config:
80     userCredentialsExternalSecret: *serviceDbCreds
81     mysqlDatabase: cmso
82     mysqlAdditionalDatabases:
83       optimizer:
84         externalSecret: *optimizerDbCreds
85   nameOverride: cmso-db-config
86
87 flavor: small
88
89 config:
90   log:
91     logstashServiceName: log-ls
92     logstashPort: 5044
93   db:
94     service:
95       # userCredentialsExternalsecret: some secret
96       userName: cmso-admin
97       # userPassword: password
98     optimizer:
99       userName: cmso-optimizer
100
101 oof-cmso-service:
102   config:
103     db:
104       userCredentialsExternalSecret: *serviceDbCreds
105       host: oof-cmso-dbhost
106       container: cmso-db
107       mysqlDatabase: cmso
108
109 oof-cmso-optimizer:
110   config:
111     db:
112       userCredentialsExternalSecret: *optimizerDbCreds
113       host: oof-cmso-dbhost
114       container: cmso-db
115       mysqlDatabase: optimizer