[GENERAL] Use readiness container v3.0.1
[oom.git] / kubernetes / common / mariadb-init / values.yaml
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
20   readinessImage: onap/oom/readiness:3.0.1
21   mariadbGalera:
22     nameOverride: mariadb-galera
23     servicePort: 3306
24     # set these two values if you want to access an 'out of ONAP' mariadb
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
35     externalSecret: '{{ tpl (default (include "mariadbInit.mariadbClusterSecret" .) .Values.global.mariadbGalera.userRootSecret) . }}'
36     password: '{{ tpl (default "" .global.mariadbGalera.userRootPassword) . }}'
37   - uid: '{{ .Values.config.mysqlDatabase }}'
38     type: basicAuth
39     externalSecret: '{{ tpl (default "" .Values.config.userCredentialsExternalSecret) . }}'
40     login: '{{ .Values.config.userName }}'
41     password: '{{ .Values.config.userPassword }}'
42     passwordPolicy: required
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
54 config:
55   userPassword: Ci@shsOd3pky1Vji
56   userName: u5WZ1GMSIS1wHZF
57   # set this value if you would like to use external secret instead of providing a password
58   # userCredentialsExternalsecret: some-secret-name
59   mysqlDatabase: ynsaUCru6mUNwGal
60   mysqlAdditionalDatabases: {}
61   # add addtional dabases
62   # this is an dict
63   # Example:
64   # mysqlAdditionalDatabases:
65   #   dbOne:
66   #     user: one
67   #     password: pwd1
68   #     externalSecret: some-secret-name
69   #   dbTwo:
70   #     user: two
71   #     password: pwd2
72   #     externalSecret: some-secret-name
73   config_map: default
74
75 nodeSelector: {}
76
77 affinity: {}
78
79 #resources: {}
80   # We usually recommend not to specify default resources and to leave this as a conscious
81   # choice for the user. This also increases chances charts run on environments with little
82   # resources, such as Minikube. If you do want to specify resources, uncomment the following
83   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
84   #
85   # Example:
86   # Configure resource requests and limits
87   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
88   # Minimum memory for development is 2 CPU cores and 4GB memory
89   # Minimum memory for production is 4 CPU cores and 8GB memory
90 flavor: small
91 resources:
92   small:
93     limits:
94       cpu: 100m
95       memory: 500Mi
96     requests:
97       cpu: 10m
98       memory: 10Mi
99   large:
100     limits:
101       cpu: 200m
102       memory: 500Mi
103     requests:
104       cpu: 20m
105       memory: 20Mi
106   unlimited: {}