blob: c574a86136a20bf6cade639e16655a1b12936359 [file] [log] [blame]
Jerry Floodf406ab82018-10-23 07:10:48 -04001# Copyright © 2018 AT&T
krishnaa962849ae52020-07-28 19:22:50 +05302# Copyright (C) 2020 Wipro Limited.
Jerry Floodf406ab82018-10-23 07:10:48 -04003#
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
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010016#################################################################
17# Secrets metaconfig
18#################################################################
19secrets:
20 - uid: cmso-db-root-password
krishnaa962849ae52020-07-28 19:22:50 +053021 name: &rootPassword '{{ include "common.release" . }}-cmso-db-root-password'
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010022 type: password
23 password: ''
24 policy: generate
krishnaa962849ae52020-07-28 19:22:50 +053025 - uid: cmso-service-db-secret
26 name: &serviceDbCreds '{{ include "common.release" . }}-cmso-service-db-secret'
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010027 type: basicAuth
krishnaa962849ae52020-07-28 19:22:50 +053028 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 }}'
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010038 passwordPolicy: generate
39
Jerry Floodf406ab82018-10-23 07:10:48 -040040mariadb-galera:
41 replicaCount: 1
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010042 nameOverride: &dbName cmso-db
Jerry Floodf406ab82018-10-23 07:10:48 -040043 nfsprovisionerPrefix: cmso
44 sdnctlPrefix: cmso
45 persistence:
46 mountSubPath: cmso/data
47 enabled: true
48 disableNfsProvisioner: true
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010049 rootUser:
50 externalSecret: *rootPassword
51 serviceAccount:
52 nameOverride: *dbName
Jerry Flood4b4373d2019-04-30 15:30:04 -040053
54global:
55 commonConfigPrefix: "oof-cmso"
56 truststoreFile: "truststoreONAPall.jks"
57 keystoreFile: "org.onap.oof.jks"
Jerry Flood4b4373d2019-04-30 15:30:04 -040058 truststorePassword:
Jerry Flood58ec23c2019-05-13 10:35:37 -040059 authentication: aaf-auth
60
krishnaa962849ae52020-07-28 19:22:50 +053061mariadb-init:
62 mariadbGalera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010063 containerName: *dbName
64 serviceName: *dbName
krishnaa962849ae52020-07-28 19:22:50 +053065 servicePort: 3306
66 userRootSecret: *rootPassword
67 config:
68 userCredentialsExternalSecret: *serviceDbCreds
69 mysqlDatabase: cmso
70 mysqlAdditionalDatabases:
71 optimizer:
72 externalSecret: *optimizerDbCreds
73 nameOverride: cmso-db-config
74
Jerry Flood58ec23c2019-05-13 10:35:37 -040075flavor: small
76
Jerry Flood4b4373d2019-04-30 15:30:04 -040077config:
78 log:
79 logstashServiceName: log-ls
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010080 logstashPort: 5044
81 db:
krishnaa962849ae52020-07-28 19:22:50 +053082 service:
83 # userCredentialsExternalsecret: some secret
84 userName: cmso-admin
85 # userPassword: password
86 optimizer:
87 userName: cmso-optimizer
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010088
krishnaa96dbcd1ca2020-08-11 10:26:50 +053089#sub-charts configuration
90certInitializer: &certInitConfig
91 fqdn: "oof.onap"
92 app_ns: "org.osaaf.aaf"
93 fqi: "oof@oof.onap.org"
94 fqi_namespace: org.onap.oof
95 public_fqdn: "oof.onap.org"
96 aafDeployFqi: "deployer@people.osaaf.org"
97 aafDeployPass: demo123456!
98 cadi_latitude: "0.0"
99 cadi_longitude: "0.0"
100 credsPath: /opt/app/osaaf/local
101 appMountPath: /share/etc/osaaf
102 aaf_add_config: >
103 cd {{ .Values.credsPath }};
104 /opt/app/aaf_config/bin/agent.sh local showpass {{.Values.fqi}} {{ .Values.fqdn }} | grep cadi_keystore_password_jks= | cut -d= -f 2 > {{ .Values.credsPath }}/.pass 2>&1;
105 find ./ -type f -exec sed -i -e 's/\/opt\/app\/osaaf\/local/\/share\/etc\/osaaf\/local/g' {} \;
106
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100107oof-cmso-service:
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530108 enabled: true
109 certInitializer:
110 << : *certInitConfig
111 nameOverride: oof-cmso-service-cert-initializer
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100112 config:
113 db:
krishnaa962849ae52020-07-28 19:22:50 +0530114 userCredentialsExternalSecret: *serviceDbCreds
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100115 host: *dbName
116 container: *dbName
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100117 mysqlDatabase: cmso
118
119oof-cmso-optimizer:
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530120 enabled: true
121 certInitializer:
122 << : *certInitConfig
123 nameOverride: oof-cmso-optimizer-cert-initializer
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100124 config:
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530125 enabled: true
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100126 db:
krishnaa962849ae52020-07-28 19:22:50 +0530127 userCredentialsExternalSecret: *optimizerDbCreds
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100128 host: *dbName
129 container: *dbName
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100130 mysqlDatabase: optimizer
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530131
132oof-cmso-topology:
133 enabled: true
134 certInitializer:
135 << : *certInitConfig
136 nameOverride: oof-cmso-topology-cert-initializer
137
138oof-cmso-ticketmgt:
139 enabled: true
140 certInitializer:
141 << : *certInitConfig
142 nameOverride: oof-cmso-ticketmgt-cert-initializer