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 | |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Secrets metaconfig |
| 18 | ################################################################# |
| 19 | secrets: |
| 20 | - uid: cmso-db-root-password |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 21 | name: &rootPassword '{{ include "common.release" . }}-cmso-db-root-password' |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 22 | type: password |
| 23 | password: '' |
| 24 | policy: generate |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 25 | - uid: cmso-service-db-secret |
| 26 | name: &serviceDbCreds '{{ include "common.release" . }}-cmso-service-db-secret' |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 27 | type: basicAuth |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 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 |
| 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 Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 38 | passwordPolicy: generate |
| 39 | |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 40 | mariadb-galera: |
| 41 | replicaCount: 1 |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame^] | 42 | nameOverride: &dbName cmso-db |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 43 | nfsprovisionerPrefix: cmso |
| 44 | sdnctlPrefix: cmso |
| 45 | persistence: |
| 46 | mountSubPath: cmso/data |
| 47 | enabled: true |
| 48 | disableNfsProvisioner: true |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame^] | 49 | rootUser: |
| 50 | externalSecret: *rootPassword |
| 51 | serviceAccount: |
| 52 | nameOverride: *dbName |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 53 | |
| 54 | global: |
| 55 | commonConfigPrefix: "oof-cmso" |
| 56 | truststoreFile: "truststoreONAPall.jks" |
| 57 | keystoreFile: "org.onap.oof.jks" |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 58 | truststorePassword: |
Jerry Flood | 58ec23c | 2019-05-13 10:35:37 -0400 | [diff] [blame] | 59 | authentication: aaf-auth |
| 60 | |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 61 | mariadb-init: |
| 62 | mariadbGalera: |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame^] | 63 | containerName: *dbName |
| 64 | serviceName: *dbName |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 65 | 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 Flood | 58ec23c | 2019-05-13 10:35:37 -0400 | [diff] [blame] | 75 | flavor: small |
| 76 | |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 77 | config: |
| 78 | log: |
| 79 | logstashServiceName: log-ls |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 80 | logstashPort: 5044 |
| 81 | db: |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 82 | service: |
| 83 | # userCredentialsExternalsecret: some secret |
| 84 | userName: cmso-admin |
| 85 | # userPassword: password |
| 86 | optimizer: |
| 87 | userName: cmso-optimizer |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 88 | |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 89 | #sub-charts configuration |
| 90 | certInitializer: &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 Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 107 | oof-cmso-service: |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 108 | enabled: true |
| 109 | certInitializer: |
| 110 | << : *certInitConfig |
| 111 | nameOverride: oof-cmso-service-cert-initializer |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 112 | config: |
| 113 | db: |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 114 | userCredentialsExternalSecret: *serviceDbCreds |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame^] | 115 | host: *dbName |
| 116 | container: *dbName |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 117 | mysqlDatabase: cmso |
| 118 | |
| 119 | oof-cmso-optimizer: |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 120 | enabled: true |
| 121 | certInitializer: |
| 122 | << : *certInitConfig |
| 123 | nameOverride: oof-cmso-optimizer-cert-initializer |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 124 | config: |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 125 | enabled: true |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 126 | db: |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 127 | userCredentialsExternalSecret: *optimizerDbCreds |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame^] | 128 | host: *dbName |
| 129 | container: *dbName |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 130 | mysqlDatabase: optimizer |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 131 | |
| 132 | oof-cmso-topology: |
| 133 | enabled: true |
| 134 | certInitializer: |
| 135 | << : *certInitConfig |
| 136 | nameOverride: oof-cmso-topology-cert-initializer |
| 137 | |
| 138 | oof-cmso-ticketmgt: |
| 139 | enabled: true |
| 140 | certInitializer: |
| 141 | << : *certInitConfig |
| 142 | nameOverride: oof-cmso-ticketmgt-cert-initializer |