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 |
krishnaa96 | 2652e51 | 2021-03-10 12:02:52 +0530 | [diff] [blame] | 39 | - 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 Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 44 | |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 45 | mariadb-galera: |
| 46 | replicaCount: 1 |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 47 | nameOverride: &dbName cmso-db |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 48 | nfsprovisionerPrefix: cmso |
| 49 | sdnctlPrefix: cmso |
| 50 | persistence: |
| 51 | mountSubPath: cmso/data |
| 52 | enabled: true |
| 53 | disableNfsProvisioner: true |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 54 | rootUser: |
| 55 | externalSecret: *rootPassword |
| 56 | serviceAccount: |
| 57 | nameOverride: *dbName |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 58 | |
| 59 | global: |
| 60 | commonConfigPrefix: "oof-cmso" |
| 61 | truststoreFile: "truststoreONAPall.jks" |
| 62 | keystoreFile: "org.onap.oof.jks" |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 63 | truststorePassword: |
Jerry Flood | 58ec23c | 2019-05-13 10:35:37 -0400 | [diff] [blame] | 64 | authentication: aaf-auth |
| 65 | |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 66 | mariadb-init: |
| 67 | mariadbGalera: |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 68 | containerName: *dbName |
| 69 | serviceName: *dbName |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 70 | 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 Flood | 58ec23c | 2019-05-13 10:35:37 -0400 | [diff] [blame] | 80 | flavor: small |
| 81 | |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 82 | config: |
krishnaa96 | 2652e51 | 2021-03-10 12:02:52 +0530 | [diff] [blame] | 83 | aaf: |
| 84 | user: oof@oof.onap.org |
| 85 | password: demo123456! |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 86 | log: |
| 87 | logstashServiceName: log-ls |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 88 | logstashPort: 5044 |
| 89 | db: |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 90 | service: |
| 91 | # userCredentialsExternalsecret: some secret |
| 92 | userName: cmso-admin |
| 93 | # userPassword: password |
| 94 | optimizer: |
| 95 | userName: cmso-optimizer |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 96 | |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 97 | #sub-charts configuration |
| 98 | certInitializer: &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 Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 115 | oof-cmso-service: |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 116 | enabled: true |
| 117 | certInitializer: |
| 118 | << : *certInitConfig |
| 119 | nameOverride: oof-cmso-service-cert-initializer |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 120 | config: |
| 121 | db: |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 122 | userCredentialsExternalSecret: *serviceDbCreds |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 123 | host: *dbName |
| 124 | container: *dbName |
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 |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 134 | config: |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 135 | enabled: true |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 136 | db: |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 137 | userCredentialsExternalSecret: *optimizerDbCreds |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 138 | host: *dbName |
| 139 | container: *dbName |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 140 | mysqlDatabase: optimizer |
krishnaa96 | 2652e51 | 2021-03-10 12:02:52 +0530 | [diff] [blame] | 141 | aaf: |
| 142 | userCredentialsExternalSecret: *aafCreds |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 143 | |
| 144 | oof-cmso-topology: |
| 145 | enabled: true |
| 146 | certInitializer: |
| 147 | << : *certInitConfig |
| 148 | nameOverride: oof-cmso-topology-cert-initializer |
| 149 | |
| 150 | oof-cmso-ticketmgt: |
| 151 | enabled: true |
| 152 | certInitializer: |
| 153 | << : *certInitConfig |
| 154 | nameOverride: oof-cmso-ticketmgt-cert-initializer |