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 mountPath: /dockerdata-nfs
23 mountPath: /dockerdata-nfs/backup
25 repository: nexus3.onap.org:10001
27 readinessRepository: oomk8s
28 readinessImage: readiness-check:2.0.2
31 #################################################################
32 # Application configuration defaults.
33 #################################################################
36 repository: nexus3.onap.org:10001
37 image: adfinissygroup/k8s-mariadb-galera-centos:v002
38 backupImage: library/mariadb:10.1.38
40 pullPolicy: IfNotPresent
42 # application configuration
44 mariadbRootPassword: secretpassword
46 userPassword: my-password
47 mysqlDatabase: my-database
49 # default number of instances in the StatefulSet
56 # probe configuration parameters
58 initialDelaySeconds: 30
61 # necessary to disable liveness probe when setting breakpoints
62 # in debugger so K8s doesn't restart unresponsive container
66 initialDelaySeconds: 15
70 ## Persist data to a persitent volume
74 ## A manually managed Persistent Volume and Claim
75 ## Requires persistence.enabled: true
76 ## If defined, PVC must be created manually before volume will be bound
78 volumeReclaimPolicy: Retain
80 ## database data Persistent Volume Storage Class
81 ## If defined, storageClassName: <storageClass>
82 ## If set to "-", storageClassName: "", which disables dynamic provisioning
83 ## If undefined (the default) or set to null, no storageClassName spec is
84 ## set, choosing the default provisioner. (gp2 on AWS, standard on
85 ## GKE, AWS & OpenStack)
88 accessMode: ReadWriteOnce
90 mountPath: /dockerdata-nfs
91 mountSubPath: "mariadb-galera/data"
92 mysqlPath: /var/lib/mysql
94 mountPath: /dockerdata-nfs/backup
99 portName: mariadb-galera
102 replicationPort: 4567
103 replicationName: replication
111 ## Configure MariaDB-Galera with a custom my.cnf file
112 ## ref: https://mariadb.com/kb/en/mariadb/configuring-mariadb-with-mycnf/#example-of-configuration-file
117 # innodb_buffer_pool_size=2G
120 # We usually recommend not to specify default resources and to leave this as a conscious
121 # choice for the user. This also increases chances charts run on environments with little
122 # resources, such as Minikube. If you do want to specify resources, uncomment the following
123 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
126 # Configure resource requests and limits
127 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
128 # Minimum memory for development is 2 CPU cores and 4GB memory
129 # Minimum memory for production is 4 CPU cores and 8GB memory
147 # Name for mariadb-galera cluster - should be unique accross all projects or other clusters
148 nameOverride: mariadb-galera
150 # DNS name for mariadb-galera cluster - should be unique accross all projects other clusters
151 #dnsnameOverride: mariadb-galera