Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 1 | # Copyright © 2018 AT&T |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 2 | # Copyright (C) 2020 Wipro Limited. |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 3 | # |
| 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 Abdelhamid | 468f3bf | 2021-06-13 14:21:42 +0200 | [diff] [blame] | 16 | global: |
| 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 Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 29 | ################################################################# |
| 30 | # Secrets metaconfig |
| 31 | ################################################################# |
| 32 | secrets: |
| 33 | - uid: cmso-db-root-password |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 34 | name: &rootPassword '{{ include "common.release" . }}-cmso-db-root-password' |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 35 | type: password |
| 36 | password: '' |
| 37 | policy: generate |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 38 | - uid: cmso-service-db-secret |
| 39 | name: &serviceDbCreds '{{ include "common.release" . }}-cmso-service-db-secret' |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 40 | type: basicAuth |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 41 | 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 Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 51 | passwordPolicy: generate |
krishnaa96 | 2652e51 | 2021-03-10 12:02:52 +0530 | [diff] [blame] | 52 | - 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 Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 57 | |
Mahmoud Abdelhamid | 468f3bf | 2021-06-13 14:21:42 +0200 | [diff] [blame] | 58 | mariadb-galera: &localMariadb |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 59 | replicaCount: 1 |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 60 | nameOverride: &dbName cmso-db |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 61 | nfsprovisionerPrefix: cmso |
| 62 | sdnctlPrefix: cmso |
| 63 | persistence: |
| 64 | mountSubPath: cmso/data |
| 65 | enabled: true |
| 66 | disableNfsProvisioner: true |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 67 | rootUser: |
| 68 | externalSecret: *rootPassword |
| 69 | serviceAccount: |
| 70 | nameOverride: *dbName |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 71 | |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 72 | mariadb-init: |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 73 | config: |
| 74 | userCredentialsExternalSecret: *serviceDbCreds |
| 75 | mysqlDatabase: cmso |
| 76 | mysqlAdditionalDatabases: |
| 77 | optimizer: |
| 78 | externalSecret: *optimizerDbCreds |
| 79 | nameOverride: cmso-db-config |
| 80 | |
Jerry Flood | 58ec23c | 2019-05-13 10:35:37 -0400 | [diff] [blame] | 81 | flavor: small |
| 82 | |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 83 | config: |
krishnaa96 | 2652e51 | 2021-03-10 12:02:52 +0530 | [diff] [blame] | 84 | aaf: |
| 85 | user: oof@oof.onap.org |
| 86 | password: demo123456! |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 87 | log: |
| 88 | logstashServiceName: log-ls |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 89 | logstashPort: 5044 |
| 90 | db: |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 91 | service: |
| 92 | # userCredentialsExternalsecret: some secret |
| 93 | userName: cmso-admin |
| 94 | # userPassword: password |
| 95 | optimizer: |
| 96 | userName: cmso-optimizer |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 97 | |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 98 | #sub-charts configuration |
| 99 | certInitializer: &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 Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 116 | oof-cmso-service: |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 117 | enabled: true |
| 118 | certInitializer: |
| 119 | << : *certInitConfig |
| 120 | nameOverride: oof-cmso-service-cert-initializer |
Mahmoud Abdelhamid | 468f3bf | 2021-06-13 14:21:42 +0200 | [diff] [blame] | 121 | mariadb-galera: *localMariadb |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 122 | config: |
| 123 | db: |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 124 | userCredentialsExternalSecret: *serviceDbCreds |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 125 | mysqlDatabase: cmso |
krishnaa96 | 2652e51 | 2021-03-10 12:02:52 +0530 | [diff] [blame] | 126 | aaf: |
| 127 | userCredentialsExternalSecret: *aafCreds |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 128 | |
| 129 | oof-cmso-optimizer: |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 130 | enabled: true |
| 131 | certInitializer: |
| 132 | << : *certInitConfig |
| 133 | nameOverride: oof-cmso-optimizer-cert-initializer |
Mahmoud Abdelhamid | 468f3bf | 2021-06-13 14:21:42 +0200 | [diff] [blame] | 134 | mariadb-galera: *localMariadb |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 135 | config: |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 136 | enabled: true |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 137 | db: |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 138 | userCredentialsExternalSecret: *optimizerDbCreds |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 139 | mysqlDatabase: optimizer |
krishnaa96 | 2652e51 | 2021-03-10 12:02:52 +0530 | [diff] [blame] | 140 | aaf: |
| 141 | userCredentialsExternalSecret: *aafCreds |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 142 | |
| 143 | oof-cmso-topology: |
| 144 | enabled: true |
| 145 | certInitializer: |
| 146 | << : *certInitConfig |
| 147 | nameOverride: oof-cmso-topology-cert-initializer |
| 148 | |
| 149 | oof-cmso-ticketmgt: |
| 150 | enabled: true |
| 151 | certInitializer: |
| 152 | << : *certInitConfig |
| 153 | nameOverride: oof-cmso-ticketmgt-cert-initializer |