blob: 15aac51888fa01262a02fb6b21f4733f24d7ba33 [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
Mahmoud Abdelhamid468f3bf2021-06-13 14:21:42 +020016global:
17 commonConfigPrefix: "oof-cmso"
18 truststoreFile: "truststoreONAPall.jks"
19 keystoreFile: "org.onap.oof.jks"
20 truststorePassword:
21 authentication: aaf-auth
22 mariadbGalera: &mariadbGalera
23 #This flag allows OOF-CMSO to instantiate its own mariadb-galera cluster
24 localCluster: false
25 service: mariadb-galera
26 internalPort: 3306
27 nameOverride: mariadb-galera
28
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010029#################################################################
30# Secrets metaconfig
31#################################################################
32secrets:
33 - uid: cmso-db-root-password
krishnaa962849ae52020-07-28 19:22:50 +053034 name: &rootPassword '{{ include "common.release" . }}-cmso-db-root-password'
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010035 type: password
36 password: ''
37 policy: generate
krishnaa962849ae52020-07-28 19:22:50 +053038 - uid: cmso-service-db-secret
39 name: &serviceDbCreds '{{ include "common.release" . }}-cmso-service-db-secret'
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010040 type: basicAuth
krishnaa962849ae52020-07-28 19:22:50 +053041 externalSecret: '{{ tpl (default "" .Values.config.db.service.userCredentialsExternalSecret) . }}'
42 login: '{{ .Values.config.db.service.userName }}'
43 password: '{{ .Values.config.db.service.userPassword }}'
44 passwordPolicy: generate
45 - uid: cmso-db-secret
46 name: &optimizerDbCreds '{{ include "common.release" . }}-cmso-optimizer-db-secret'
47 type: basicAuth
48 externalSecret: '{{ tpl (default "" .Values.config.db.optimizer.userCredentialsExternalSecret) . }}'
49 login: '{{ .Values.config.db.optimizer.userName }}'
50 password: '{{ .Values.config.db.optimizer.userPassword }}'
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010051 passwordPolicy: generate
krishnaa962652e512021-03-10 12:02:52 +053052 - uid: cmso-aaf-creds
53 name: &aafCreds '{{ include "common.release" . }}-cmso-aaf-creds'
54 type: basicAuth
55 login: '{{ .Values.config.aaf.user }}'
56 password: '{{ .Values.config.aaf.password }}'
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010057
Mahmoud Abdelhamid468f3bf2021-06-13 14:21:42 +020058mariadb-galera: &localMariadb
Jerry Floodf406ab82018-10-23 07:10:48 -040059 replicaCount: 1
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010060 nameOverride: &dbName cmso-db
Jerry Floodf406ab82018-10-23 07:10:48 -040061 nfsprovisionerPrefix: cmso
62 sdnctlPrefix: cmso
63 persistence:
64 mountSubPath: cmso/data
65 enabled: true
66 disableNfsProvisioner: true
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010067 rootUser:
68 externalSecret: *rootPassword
69 serviceAccount:
70 nameOverride: *dbName
Jerry Flood4b4373d2019-04-30 15:30:04 -040071
krishnaa962849ae52020-07-28 19:22:50 +053072mariadb-init:
krishnaa962849ae52020-07-28 19:22:50 +053073 config:
74 userCredentialsExternalSecret: *serviceDbCreds
75 mysqlDatabase: cmso
76 mysqlAdditionalDatabases:
77 optimizer:
78 externalSecret: *optimizerDbCreds
79 nameOverride: cmso-db-config
80
Jerry Flood58ec23c2019-05-13 10:35:37 -040081flavor: small
82
Jerry Flood4b4373d2019-04-30 15:30:04 -040083config:
krishnaa962652e512021-03-10 12:02:52 +053084 aaf:
85 user: oof@oof.onap.org
86 password: demo123456!
Jerry Flood4b4373d2019-04-30 15:30:04 -040087 log:
88 logstashServiceName: log-ls
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010089 logstashPort: 5044
90 db:
krishnaa962849ae52020-07-28 19:22:50 +053091 service:
92 # userCredentialsExternalsecret: some secret
93 userName: cmso-admin
94 # userPassword: password
95 optimizer:
96 userName: cmso-optimizer
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010097
krishnaa96dbcd1ca2020-08-11 10:26:50 +053098#sub-charts configuration
99certInitializer: &certInitConfig
100 fqdn: "oof.onap"
101 app_ns: "org.osaaf.aaf"
102 fqi: "oof@oof.onap.org"
103 fqi_namespace: org.onap.oof
104 public_fqdn: "oof.onap.org"
105 aafDeployFqi: "deployer@people.osaaf.org"
106 aafDeployPass: demo123456!
107 cadi_latitude: "0.0"
108 cadi_longitude: "0.0"
109 credsPath: /opt/app/osaaf/local
110 appMountPath: /share/etc/osaaf
111 aaf_add_config: >
112 cd {{ .Values.credsPath }};
113 /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;
114 find ./ -type f -exec sed -i -e 's/\/opt\/app\/osaaf\/local/\/share\/etc\/osaaf\/local/g' {} \;
115
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100116oof-cmso-service:
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530117 enabled: true
118 certInitializer:
119 << : *certInitConfig
120 nameOverride: oof-cmso-service-cert-initializer
Mahmoud Abdelhamid468f3bf2021-06-13 14:21:42 +0200121 mariadb-galera: *localMariadb
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100122 config:
123 db:
krishnaa962849ae52020-07-28 19:22:50 +0530124 userCredentialsExternalSecret: *serviceDbCreds
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
Mahmoud Abdelhamid468f3bf2021-06-13 14:21:42 +0200134 mariadb-galera: *localMariadb
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100135 config:
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530136 enabled: true
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100137 db:
krishnaa962849ae52020-07-28 19:22:50 +0530138 userCredentialsExternalSecret: *optimizerDbCreds
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +0100139 mysqlDatabase: optimizer
krishnaa962652e512021-03-10 12:02:52 +0530140 aaf:
141 userCredentialsExternalSecret: *aafCreds
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530142
143oof-cmso-topology:
144 enabled: true
145 certInitializer:
146 << : *certInitConfig
147 nameOverride: oof-cmso-topology-cert-initializer
148
149oof-cmso-ticketmgt:
150 enabled: true
151 certInitializer:
152 << : *certInitConfig
153 nameOverride: oof-cmso-ticketmgt-cert-initializer