Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada |
| 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 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | repository: nexus3.onap.org:10001 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 20 | readinessImage: onap/oom/readiness:3.0.1 |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 21 | mariadbGalera: |
| 22 | nameOverride: mariadb-galera |
| 23 | servicePort: 3306 |
| 24 | # set these two values if you want to access an 'out of ONAP' mariadb |
Krzysztof Opasiak | d732244 | 2020-01-30 12:10:40 +0100 | [diff] [blame] | 25 | # userRootPassword: some-password |
| 26 | # userRootSecret: some-secret-name |
| 27 | # userRootSecretKey: password |
| 28 | |
| 29 | ################################################################# |
| 30 | # Secrets metaconfig |
| 31 | ################################################################# |
| 32 | secrets: |
| 33 | - uid: root-password |
| 34 | type: password |
Krzysztof Opasiak | 80e39d4 | 2020-08-31 22:25:52 +0200 | [diff] [blame] | 35 | externalSecret: '{{ tpl (ternary (default "" .Values.mariadbGalera.userRootSecret) (default (include "mariadbInit.mariadbClusterSecret" .) .Values.global.mariadbGalera.userRootSecret) (not (empty (default "" .Values.mariadbGalera.serviceName)))) . }}' |
| 36 | password: '{{ tpl (ternary (default "" .Values.mariadbGalera.userRootPassword) (default "" .Values.global.mariadbGalera.userRootPassword) (not (empty (default "" .Values.mariadbGalera.serviceName)))) . }}' |
Krzysztof Opasiak | d732244 | 2020-01-30 12:10:40 +0100 | [diff] [blame] | 37 | - uid: '{{ .Values.config.mysqlDatabase }}' |
| 38 | type: basicAuth |
Krzysztof Opasiak | 8cf46b4 | 2020-02-08 01:07:21 +0100 | [diff] [blame] | 39 | externalSecret: '{{ tpl (default "" .Values.config.userCredentialsExternalSecret) . }}' |
Krzysztof Opasiak | d732244 | 2020-01-30 12:10:40 +0100 | [diff] [blame] | 40 | login: '{{ .Values.config.userName }}' |
| 41 | password: '{{ .Values.config.userPassword }}' |
| 42 | passwordPolicy: required |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 43 | |
| 44 | ################################################################# |
| 45 | # Application configuration defaults. |
| 46 | ################################################################# |
| 47 | |
| 48 | image: mariadb:10.1.38 |
| 49 | pullPolicy: IfNotPresent |
| 50 | |
| 51 | # Set it if you want to change the name of the different components |
| 52 | # nameOverride: |
| 53 | |
Krzysztof Opasiak | 80e39d4 | 2020-08-31 22:25:52 +0200 | [diff] [blame] | 54 | mariadbGalera: {} |
| 55 | # serviceName: some-name |
| 56 | # containerName: some-name |
| 57 | # servicePort: 3306 |
| 58 | # userRootPassword: some-password |
| 59 | # userRootSecret: some-secret-name |
| 60 | # userRootSecretKey: password |
| 61 | |
| 62 | |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 63 | config: |
| 64 | userPassword: Ci@shsOd3pky1Vji |
| 65 | userName: u5WZ1GMSIS1wHZF |
Krzysztof Opasiak | d732244 | 2020-01-30 12:10:40 +0100 | [diff] [blame] | 66 | # set this value if you would like to use external secret instead of providing a password |
Krzysztof Opasiak | 8cf46b4 | 2020-02-08 01:07:21 +0100 | [diff] [blame] | 67 | # userCredentialsExternalsecret: some-secret-name |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 68 | mysqlDatabase: ynsaUCru6mUNwGal |
| 69 | mysqlAdditionalDatabases: {} |
| 70 | # add addtional dabases |
| 71 | # this is an dict |
| 72 | # Example: |
| 73 | # mysqlAdditionalDatabases: |
| 74 | # dbOne: |
| 75 | # user: one |
| 76 | # password: pwd1 |
Krzysztof Opasiak | d732244 | 2020-01-30 12:10:40 +0100 | [diff] [blame] | 77 | # externalSecret: some-secret-name |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 78 | # dbTwo: |
| 79 | # user: two |
| 80 | # password: pwd2 |
Krzysztof Opasiak | d732244 | 2020-01-30 12:10:40 +0100 | [diff] [blame] | 81 | # externalSecret: some-secret-name |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 82 | config_map: default |
| 83 | |
| 84 | nodeSelector: {} |
| 85 | |
| 86 | affinity: {} |
| 87 | |
| 88 | #resources: {} |
| 89 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 90 | # choice for the user. This also increases chances charts run on environments with little |
| 91 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 92 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 93 | # |
| 94 | # Example: |
| 95 | # Configure resource requests and limits |
| 96 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 97 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 98 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 99 | flavor: small |
| 100 | resources: |
| 101 | small: |
| 102 | limits: |
| 103 | cpu: 100m |
| 104 | memory: 500Mi |
| 105 | requests: |
| 106 | cpu: 10m |
| 107 | memory: 10Mi |
| 108 | large: |
| 109 | limits: |
| 110 | cpu: 200m |
| 111 | memory: 500Mi |
| 112 | requests: |
| 113 | cpu: 20m |
| 114 | memory: 20Mi |
| 115 | unlimited: {} |