blob: b1c356153890ba206646f559dcebb1cc4c7c3971 [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
vrvarma0c8dbdb2020-04-02 13:10:05 -040059 keystorePassword: OA7*y0PEGTma?$be2z#0$:L]
Jerry Flood4b4373d2019-04-30 15:30:04 -040060 truststorePassword:
Jerry Flood58ec23c2019-05-13 10:35:37 -040061 authentication: aaf-auth
vrvarma0c8dbdb2020-04-02 13:10:05 -040062 busyBoxImage: busybox:1.30
63 busyBoxRepository: docker.io
Jerry Flood58ec23c2019-05-13 10:35:37 -040064
65flavor: small
66
Jerry Flood4b4373d2019-04-30 15:30:04 -040067config:
68 log:
69 logstashServiceName: log-ls
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010070 logstashPort: 5044
71 db:
72 # userCredentialsExternalsecret: some secret
73 userName: cmso-admin
74 # userPassword: password
75
76oof-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
85oof-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