blob: 2b8ad9487d3a291467517d37f61419451364e5c8 [file] [log] [blame]
Jerry Floodf406ab82018-10-23 07:10:48 -04001# 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
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010015#################################################################
16# Secrets metaconfig
17#################################################################
18secrets:
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
Jerry Floodf406ab82018-10-23 07:10:48 -040032mariadb-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:
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010046 mariadbRootPasswordExternalSecret: '{{ include "common.release" . }}-cmso-db-root-password'
47 userCredentialsExternalSecret: '{{ include "common.release" . }}-cmso-db-secret'
Jerry Floodf406ab82018-10-23 07:10:48 -040048 mysqlDatabase: cmso
49 externalConfig: |
50 [mysqld]
Jerry Flood4b4373d2019-04-30 15:30:04 -040051 lower_case_table_names = 1
52
53global:
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:
Jerry Flood58ec23c2019-05-13 10:35:37 -040061 authentication: aaf-auth
62
63flavor: small
64
Jerry Flood4b4373d2019-04-30 15:30:04 -040065config:
66 log:
67 logstashServiceName: log-ls
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010068 logstashPort: 5044
69 db:
70 # userCredentialsExternalsecret: some secret
71 userName: cmso-admin
72 # userPassword: password
73
74oof-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
83oof-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