blob: c46fd0a33a870bbeebb2f27318348e1ca2a006b4 [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
krishnaa962652e512021-03-10 12:02:52 +053039 - uid: cmso-aaf-creds
40 name: &aafCreds '{{ include "common.release" . }}-cmso-aaf-creds'
41 type: basicAuth
42 login: '{{ .Values.config.aaf.user }}'
43 password: '{{ .Values.config.aaf.password }}'
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010044
Jerry Floodf406ab82018-10-23 07:10:48 -040045mariadb-galera:
46 replicaCount: 1
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010047 nameOverride: &dbName cmso-db
Jerry Floodf406ab82018-10-23 07:10:48 -040048 nfsprovisionerPrefix: cmso
49 sdnctlPrefix: cmso
50 persistence:
51 mountSubPath: cmso/data
52 enabled: true
53 disableNfsProvisioner: true
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010054 rootUser:
55 externalSecret: *rootPassword
56 serviceAccount:
57 nameOverride: *dbName
Jerry Flood4b4373d2019-04-30 15:30:04 -040058
59global:
60 commonConfigPrefix: "oof-cmso"
61 truststoreFile: "truststoreONAPall.jks"
62 keystoreFile: "org.onap.oof.jks"
Jerry Flood4b4373d2019-04-30 15:30:04 -040063 truststorePassword:
Jerry Flood58ec23c2019-05-13 10:35:37 -040064 authentication: aaf-auth
65
krishnaa962849ae52020-07-28 19:22:50 +053066mariadb-init:
67 mariadbGalera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010068 containerName: *dbName
69 serviceName: *dbName
krishnaa962849ae52020-07-28 19:22:50 +053070 servicePort: 3306
71 userRootSecret: *rootPassword
72 config:
73 userCredentialsExternalSecret: *serviceDbCreds
74 mysqlDatabase: cmso
75 mysqlAdditionalDatabases:
76 optimizer:
77 externalSecret: *optimizerDbCreds
78 nameOverride: cmso-db-config
79
Jerry Flood58ec23c2019-05-13 10:35:37 -040080flavor: small
81
Jerry Flood4b4373d2019-04-30 15:30:04 -040082config:
krishnaa962652e512021-03-10 12:02:52 +053083 aaf:
84 user: oof@oof.onap.org
85 password: demo123456!
Jerry Flood4b4373d2019-04-30 15:30:04 -040086 log:
87 logstashServiceName: log-ls
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010088 logstashPort: 5044
89 db:
krishnaa962849ae52020-07-28 19:22:50 +053090 service:
91 # userCredentialsExternalsecret: some secret
92 userName: cmso-admin
93 # userPassword: password
94 optimizer:
95 userName: cmso-optimizer
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010096
krishnaa96dbcd1ca2020-08-11 10:26:50 +053097#sub-charts configuration
98certInitializer: &certInitConfig
99 fqdn: "oof.onap"
100 app_ns: "org.osaaf.aaf"
101 fqi: "oof@oof.onap.org"
102 fqi_namespace: org.onap.oof
103 public_fqdn: "oof.onap.org"
104 aafDeployFqi: "deployer@people.osaaf.org"
105 aafDeployPass: demo123456!
106 cadi_latitude: "0.0"
107 cadi_longitude: "0.0"
108 credsPath: /opt/app/osaaf/local
109 appMountPath: /share/etc/osaaf
110 aaf_add_config: >
111 cd {{ .Values.credsPath }};
112 /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;
113 find ./ -type f -exec sed -i -e 's/\/opt\/app\/osaaf\/local/\/share\/etc\/osaaf\/local/g' {} \;
114
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100115oof-cmso-service:
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530116 enabled: true
117 certInitializer:
118 << : *certInitConfig
119 nameOverride: oof-cmso-service-cert-initializer
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100120 config:
121 db:
krishnaa962849ae52020-07-28 19:22:50 +0530122 userCredentialsExternalSecret: *serviceDbCreds
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100123 host: *dbName
124 container: *dbName
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100125 mysqlDatabase: cmso
krishnaa962652e512021-03-10 12:02:52 +0530126 aaf:
127 userCredentialsExternalSecret: *aafCreds
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100128
129oof-cmso-optimizer:
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530130 enabled: true
131 certInitializer:
132 << : *certInitConfig
133 nameOverride: oof-cmso-optimizer-cert-initializer
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100134 config:
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530135 enabled: true
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100136 db:
krishnaa962849ae52020-07-28 19:22:50 +0530137 userCredentialsExternalSecret: *optimizerDbCreds
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100138 host: *dbName
139 container: *dbName
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100140 mysqlDatabase: optimizer
krishnaa962652e512021-03-10 12:02:52 +0530141 aaf:
142 userCredentialsExternalSecret: *aafCreds
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530143
144oof-cmso-topology:
145 enabled: true
146 certInitializer:
147 << : *certInitConfig
148 nameOverride: oof-cmso-topology-cert-initializer
149
150oof-cmso-ticketmgt:
151 enabled: true
152 certInitializer:
153 << : *certInitConfig
154 nameOverride: oof-cmso-ticketmgt-cert-initializer