1 # Copyright © 2018 Amdocs, Bell Canada
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
20 nameOverride: mariadb-galera
22 # set these two values if you want to access an 'out of ONAP' mariadb
23 # userRootPassword: some-password
24 # userRootSecret: some-secret-name
25 # userRootSecretKey: password
27 #################################################################
29 #################################################################
33 externalSecret: '{{ tpl (ternary (default "" .Values.mariadbGalera.userRootSecret) (default (include "mariadbInit.mariadbClusterSecret" .) .Values.global.mariadbGalera.userRootSecret) (not (empty (default "" .Values.mariadbGalera.serviceName)))) . }}'
34 password: '{{ tpl (ternary (default "" .Values.mariadbGalera.userRootPassword) (default "" .Values.global.mariadbGalera.userRootPassword) (not (empty (default "" .Values.mariadbGalera.serviceName)))) . }}'
35 - uid: '{{ .Values.config.mysqlDatabase }}'
37 externalSecret: '{{ tpl (default "" .Values.config.userCredentialsExternalSecret) . }}'
38 login: '{{ .Values.config.userName }}'
39 password: '{{ .Values.config.userPassword }}'
40 passwordPolicy: required
42 #################################################################
43 # Application configuration defaults.
44 #################################################################
46 pullPolicy: IfNotPresent
48 # These two values are used to supply commands that are run after the DB is created.
49 # Components using the shared DB can either pass a string which has a set of commands
50 # or a config map that contains a shell script. If both are specified only the config
51 # map will be executed. For reference, please see the VID components for config map
55 # Set it if you want to change the name of the different components
59 # serviceName: some-name
60 # containerName: some-name
62 # userRootPassword: some-password
63 # userRootSecret: some-secret-name
64 # userRootSecretKey: password
66 # These are default settings, required for a chart compilation with "local" cluster
67 # setting. These values need to be overwritten in the component's values.yaml, e.g.
69 # mariadbGalera: &mariadbGalera
70 # #This flag allows SO to instantiate its own mariadb-galera cluster
74 # nameOverride: nbi-galera
77 # nameOverride: nbi-galera
83 nameOverride: mariadb-galera
86 userPassword: Ci@shsOd3pky1Vji
87 userName: u5WZ1GMSIS1wHZF
88 # set this value if you would like to use external secret instead of providing a password
89 # userCredentialsExternalsecret: some-secret-name
90 mysqlDatabase: ynsaUCru6mUNwGal
91 mysqlAdditionalDatabases: {}
92 # add addtional dabases
95 # mysqlAdditionalDatabases:
99 # externalSecret: some-secret-name
103 # externalSecret: some-secret-name
111 # We usually recommend not to specify default resources and to leave this as a conscious
112 # choice for the user. This also increases chances charts run on environments with little
113 # resources, such as Minikube. If you do want to specify resources, uncomment the following
114 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
117 # Configure resource requests and limits
118 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
119 # Minimum memory for development is 2 CPU cores and 4GB memory
120 # Minimum memory for production is 4 CPU cores and 8GB memory
139 wait_for_job_container:
141 - '{{ include "common.name" . }}'