Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 1 | # Copyright © 2018 AT&T |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 15 | ################################################################# |
| 16 | # Secrets metaconfig |
| 17 | ################################################################# |
| 18 | secrets: |
| 19 | - uid: cmso-db-root-password |
| 20 | name: '{{ include "common.release" . }}-cmso-db-root-password' |
| 21 | type: password |
| 22 | password: '' |
| 23 | policy: generate |
| 24 | - uid: cmso-db-secret |
| 25 | name: '{{ include "common.release" . }}-cmso-db-secret' |
| 26 | type: basicAuth |
| 27 | externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}' |
| 28 | login: '{{ .Values.config.db.userName }}' |
| 29 | password: '{{ .Values.config.db.userPassword }}' |
| 30 | passwordPolicy: generate |
| 31 | |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 32 | mariadb-galera: |
| 33 | replicaCount: 1 |
| 34 | nameOverride: cmso-db |
| 35 | service: |
| 36 | type: ClusterIP |
| 37 | name: oof-cmso-dbhost |
| 38 | portName: cmso-dbhost |
| 39 | nfsprovisionerPrefix: cmso |
| 40 | sdnctlPrefix: cmso |
| 41 | persistence: |
| 42 | mountSubPath: cmso/data |
| 43 | enabled: true |
| 44 | disableNfsProvisioner: true |
| 45 | config: |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 46 | mariadbRootPasswordExternalSecret: '{{ include "common.release" . }}-cmso-db-root-password' |
| 47 | userCredentialsExternalSecret: '{{ include "common.release" . }}-cmso-db-secret' |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 48 | mysqlDatabase: cmso |
| 49 | externalConfig: | |
| 50 | [mysqld] |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 51 | lower_case_table_names = 1 |
| 52 | |
| 53 | global: |
| 54 | commonConfigPrefix: "oof-cmso" |
| 55 | truststoreFile: "truststoreONAPall.jks" |
| 56 | keystoreFile: "org.onap.oof.jks" |
| 57 | loggingRepository: docker.elastic.co |
| 58 | loggingImage: beats/filebeat:5.5.0 |
vrvarma | 0c8dbdb | 2020-04-02 13:10:05 -0400 | [diff] [blame] | 59 | keystorePassword: OA7*y0PEGTma?$be2z#0$:L] |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 60 | truststorePassword: |
Jerry Flood | 58ec23c | 2019-05-13 10:35:37 -0400 | [diff] [blame] | 61 | authentication: aaf-auth |
vrvarma | 0c8dbdb | 2020-04-02 13:10:05 -0400 | [diff] [blame] | 62 | busyBoxImage: busybox:1.30 |
| 63 | busyBoxRepository: docker.io |
Jerry Flood | 58ec23c | 2019-05-13 10:35:37 -0400 | [diff] [blame] | 64 | |
| 65 | flavor: small |
| 66 | |
Jerry Flood | 4b4373d | 2019-04-30 15:30:04 -0400 | [diff] [blame] | 67 | config: |
| 68 | log: |
| 69 | logstashServiceName: log-ls |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 70 | logstashPort: 5044 |
| 71 | db: |
| 72 | # userCredentialsExternalsecret: some secret |
| 73 | userName: cmso-admin |
| 74 | # userPassword: password |
| 75 | |
| 76 | oof-cmso-service: |
| 77 | config: |
| 78 | db: |
| 79 | userCredentialsExternalSecret: '{{ include "common.release" . }}-cmso-db-secret' |
| 80 | rootPasswordExternalSecret: '{{ include "common.release" . }}-cmso-db-root-password' |
| 81 | host: oof-cmso-dbhost |
| 82 | container: cmso-db |
| 83 | mysqlDatabase: cmso |
| 84 | |
| 85 | oof-cmso-optimizer: |
| 86 | config: |
| 87 | db: |
| 88 | userCredentialsExternalSecret: '{{ include "common.release" . }}-cmso-db-secret' |
| 89 | rootPasswordExternalSecret: '{{ include "common.release" . }}-cmso-db-root-password' |
| 90 | host: oof-cmso-dbhost |
| 91 | container: cmso-db |
| 92 | mysqlDatabase: optimizer |