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 #################################################################
21 repository: nexus3.onap.org:10001
24 #################################################################
25 # Application configuration defaults.
26 #################################################################
29 repository: nexus3.onap.org:10001
30 image: adfinissygroup/k8s-mariadb-galera-centos:v002
32 pullPolicy: IfNotPresent
34 # application configuration
36 mariadbRootPassword: secretpassword
38 userPassword: my-password
39 mysqlDatabase: my-database
41 # default number of instances in the StatefulSet
48 # probe configuration parameters
50 initialDelaySeconds: 30
53 # necessary to disable liveness probe when setting breakpoints
54 # in debugger so K8s doesn't restart unresponsive container
58 initialDelaySeconds: 15
62 ## Persist data to a persitent volume
66 ## A manually managed Persistent Volume and Claim
67 ## Requires persistence.enabled: true
68 ## If defined, PVC must be created manually before volume will be bound
70 volumeReclaimPolicy: Retain
72 ## database data Persistent Volume Storage Class
73 ## If defined, storageClassName: <storageClass>
74 ## If set to "-", storageClassName: "", which disables dynamic provisioning
75 ## If undefined (the default) or set to null, no storageClassName spec is
76 ## set, choosing the default provisioner. (gp2 on AWS, standard on
77 ## GKE, AWS & OpenStack)
80 accessMode: ReadWriteMany
82 mountPath: /dockerdata-nfs
83 mountSubPath: "mariadb-galera/data"
84 mysqlPath: /var/lib/mysql
89 portName: mariadb-galera
93 replicationName: replication
101 ## Configure MariaDB-Galera with a custom my.cnf file
102 ## ref: https://mariadb.com/kb/en/mariadb/configuring-mariadb-with-mycnf/#example-of-configuration-file
107 # innodb_buffer_pool_size=2G
110 # We usually recommend not to specify default resources and to leave this as a conscious
111 # choice for the user. This also increases chances charts run on environments with little
112 # resources, such as Minikube. If you do want to specify resources, uncomment the following
113 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
116 # Configure resource requests and limits
117 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
118 # Minimum memory for development is 2 CPU cores and 4GB memory
119 # Minimum memory for production is 4 CPU cores and 8GB memory
137 # Name for mariadb-galera cluster - should be unique accross all projects or other clusters
138 nameOverride: mariadb-galera
140 # DNS name for mariadb-galera cluster - should be unique accross all projects other clusters
141 #dnsnameOverride: mariadb-galera