1 # Copyright © 2018 AT&T
2 # Copyright (C) 2020 Wipro Limited.
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 #################################################################
18 #################################################################
20 - uid: cmso-db-root-password
21 name: &rootPassword '{{ include "common.release" . }}-cmso-db-root-password'
25 - uid: cmso-service-db-secret
26 name: &serviceDbCreds '{{ include "common.release" . }}-cmso-service-db-secret'
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
33 name: &optimizerDbCreds '{{ include "common.release" . }}-cmso-optimizer-db-secret'
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
42 nameOverride: &containerName cmso-db
45 name: &serviceName oof-cmso-dbhost
47 nfsprovisionerPrefix: cmso
50 mountSubPath: cmso/data
52 disableNfsProvisioner: true
54 mariadbRootPasswordExternalSecret: *rootPassword
55 # userCredentialsExternalSecret: *dbCreds
59 lower_case_table_names = 1
62 commonConfigPrefix: "oof-cmso"
63 truststoreFile: "truststoreONAPall.jks"
64 keystoreFile: "org.onap.oof.jks"
66 authentication: aaf-auth
70 containerName: *containerName
71 serviceName: *serviceName
73 userRootSecret: *rootPassword
75 userCredentialsExternalSecret: *serviceDbCreds
77 mysqlAdditionalDatabases:
79 externalSecret: *optimizerDbCreds
80 nameOverride: cmso-db-config
86 logstashServiceName: log-ls
90 # userCredentialsExternalsecret: some secret
92 # userPassword: password
94 userName: cmso-optimizer
96 #sub-charts configuration
97 certInitializer: &certInitConfig
99 app_ns: "org.osaaf.aaf"
100 fqi: "oof@oof.onap.org"
101 fqi_namespace: org.onap.oof
102 public_fqdn: "oof.onap.org"
103 aafDeployFqi: "deployer@people.osaaf.org"
104 aafDeployPass: demo123456!
106 cadi_longitude: "0.0"
107 credsPath: /opt/app/osaaf/local
108 appMountPath: /share/etc/osaaf
110 cd {{ .Values.credsPath }};
111 /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;
112 find ./ -type f -exec sed -i -e 's/\/opt\/app\/osaaf\/local/\/share\/etc\/osaaf\/local/g' {} \;
118 nameOverride: oof-cmso-service-cert-initializer
121 userCredentialsExternalSecret: *serviceDbCreds
122 host: oof-cmso-dbhost
130 nameOverride: oof-cmso-optimizer-cert-initializer
134 userCredentialsExternalSecret: *optimizerDbCreds
135 host: oof-cmso-dbhost
137 mysqlDatabase: optimizer
143 nameOverride: oof-cmso-topology-cert-initializer
149 nameOverride: oof-cmso-ticketmgt-cert-initializer