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 |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 42 | nameOverride: &containerName cmso-db |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 43 | service: |
| 44 | type: ClusterIP |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 45 | name: &serviceName oof-cmso-dbhost |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 46 | portName: cmso-dbhost |
| 47 | nfsprovisionerPrefix: cmso |
| 48 | sdnctlPrefix: cmso |
| 49 | persistence: |
| 50 | mountSubPath: cmso/data |
| 51 | enabled: true |
| 52 | disableNfsProvisioner: true |
| 53 | config: |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 54 | mariadbRootPasswordExternalSecret: *rootPassword |
| 55 | # userCredentialsExternalSecret: *dbCreds |
| 56 | # mysqlDatabase: cmso |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 57 | externalConfig: | |
| 58 | [mysqld] |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 59 | lower_case_table_names = 1 |
| 60 | |
| 61 | global: |
| 62 | commonConfigPrefix: "oof-cmso" |
| 63 | truststoreFile: "truststoreONAPall.jks" |
| 64 | keystoreFile: "org.onap.oof.jks" |
| 65 | loggingRepository: docker.elastic.co |
| 66 | loggingImage: beats/filebeat:5.5.0 |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 67 | truststorePassword: |
Jerry Flood | 58ec23c | 2019-05-13 10:35:37 -0400 | [diff] [blame] | 68 | authentication: aaf-auth |
vrvarma | 0c8dbdb | 2020-04-02 13:10:05 -0400 | [diff] [blame] | 69 | busyBoxImage: busybox:1.30 |
| 70 | busyBoxRepository: docker.io |
Jerry Flood | 58ec23c | 2019-05-13 10:35:37 -0400 | [diff] [blame] | 71 | |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 72 | mariadb-init: |
| 73 | mariadbGalera: |
| 74 | containerName: *containerName |
| 75 | serviceName: *serviceName |
| 76 | servicePort: 3306 |
| 77 | userRootSecret: *rootPassword |
| 78 | config: |
| 79 | userCredentialsExternalSecret: *serviceDbCreds |
| 80 | mysqlDatabase: cmso |
| 81 | mysqlAdditionalDatabases: |
| 82 | optimizer: |
| 83 | externalSecret: *optimizerDbCreds |
| 84 | nameOverride: cmso-db-config |
| 85 | |
Jerry Flood | 58ec23c | 2019-05-13 10:35:37 -0400 | [diff] [blame] | 86 | flavor: small |
| 87 | |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 88 | config: |
| 89 | log: |
| 90 | logstashServiceName: log-ls |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 91 | logstashPort: 5044 |
| 92 | db: |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 93 | service: |
| 94 | # userCredentialsExternalsecret: some secret |
| 95 | userName: cmso-admin |
| 96 | # userPassword: password |
| 97 | optimizer: |
| 98 | userName: cmso-optimizer |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 99 | |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame^] | 100 | #sub-charts configuration |
| 101 | certInitializer: &certInitConfig |
| 102 | fqdn: "oof.onap" |
| 103 | app_ns: "org.osaaf.aaf" |
| 104 | fqi: "oof@oof.onap.org" |
| 105 | fqi_namespace: org.onap.oof |
| 106 | public_fqdn: "oof.onap.org" |
| 107 | aafDeployFqi: "deployer@people.osaaf.org" |
| 108 | aafDeployPass: demo123456! |
| 109 | cadi_latitude: "0.0" |
| 110 | cadi_longitude: "0.0" |
| 111 | credsPath: /opt/app/osaaf/local |
| 112 | appMountPath: /share/etc/osaaf |
| 113 | aaf_add_config: > |
| 114 | cd {{ .Values.credsPath }}; |
| 115 | /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; |
| 116 | find ./ -type f -exec sed -i -e 's/\/opt\/app\/osaaf\/local/\/share\/etc\/osaaf\/local/g' {} \; |
| 117 | |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 118 | oof-cmso-service: |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame^] | 119 | enabled: true |
| 120 | certInitializer: |
| 121 | << : *certInitConfig |
| 122 | nameOverride: oof-cmso-service-cert-initializer |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 123 | config: |
| 124 | db: |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 125 | userCredentialsExternalSecret: *serviceDbCreds |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 126 | host: oof-cmso-dbhost |
| 127 | container: cmso-db |
| 128 | mysqlDatabase: cmso |
| 129 | |
| 130 | oof-cmso-optimizer: |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame^] | 131 | enabled: true |
| 132 | certInitializer: |
| 133 | << : *certInitConfig |
| 134 | nameOverride: oof-cmso-optimizer-cert-initializer |
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 | host: oof-cmso-dbhost |
| 140 | container: cmso-db |
| 141 | mysqlDatabase: optimizer |
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 |