1 # Values yaml file for reference from the github. - currently not used.
\r
3 ## mysql image version
\r
4 ## ref: https://hub.docker.com/r/library/mysql/tags/
\r
18 image: "dduportal/bats"
\r
21 ## Specify password for root user
\r
23 ## Default: random 10 character string
\r
24 # mysqlRootPassword: testing
\r
26 ## Create a database user
\r
29 ## Default: random 10 character string
\r
32 ## Allow unauthenticated access, uncomment to enable
\r
34 # mysqlAllowEmptyPassword: true
\r
36 ## Create a database
\r
40 ## Specify an imagePullPolicy (Required)
\r
41 ## It's recommended to change this to 'Always' if the image tag is 'latest'
\r
42 ## ref: http://kubernetes.io/docs/user-guide/images/#updating-images
\r
44 imagePullPolicy: IfNotPresent
\r
46 ## Additionnal arguments that are passed to the MySQL container.
\r
47 ## For example use --default-authentication-plugin=mysql_native_password if older clients need to
\r
48 ## connect to a MySQL 8 instance.
\r
55 extraVolumeMounts: |
\r
57 # mountPath: /usr/share/extras
\r
60 extraInitContainers: |
\r
61 # - name: do-something
\r
63 # command: ['do', 'something']
\r
65 # Optionally specify an array of imagePullSecrets.
\r
66 # Secrets must be manually created in the namespace.
\r
67 # ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
\r
69 # - name: myRegistryKeySecretName
\r
72 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
\r
76 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
\r
79 ## Tolerations for pod assignment
\r
80 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
\r
85 initialDelaySeconds: 30
\r
92 initialDelaySeconds: 5
\r
98 ## Persist data to a persistent volume
\r
101 ## database data Persistent Volume Storage Class
\r
102 ## If defined, storageClassName: <storageClass>
\r
103 ## If set to "-", storageClassName: "", which disables dynamic provisioning
\r
104 ## If undefined (the default) or set to null, no storageClassName spec is
\r
105 ## set, choosing the default provisioner. (gp2 on AWS, standard on
\r
106 ## GKE, AWS & OpenStack)
\r
108 # storageClass: "-"
\r
109 accessMode: ReadWriteOnce
\r
113 ## Use an alternate scheduler, e.g. "stork".
\r
114 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
\r
118 ## Security context
\r
124 ## Configure resource requests and limits
\r
125 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
\r
132 # Custom mysql configuration files path
\r
133 configurationFilesPath: /etc/mysql/conf.d/
\r
135 # Custom mysql configuration files used to override default mysql settings
\r
136 configurationFiles: {}
\r
139 # skip-name-resolve
\r
140 # ssl-ca=/ssl/ca.pem
\r
141 # ssl-cert=/ssl/server-cert.pem
\r
142 # ssl-key=/ssl/server-key.pem
\r
144 # Custom mysql init SQL files used to initialize the database
\r
145 initializationFiles: {}
\r
147 # CREATE DATABASE IF NOT EXISTS first DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
\r
148 # second-db.sql: |-
\r
149 # CREATE DATABASE IF NOT EXISTS second DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
\r
153 image: prom/mysqld-exporter
\r
155 imagePullPolicy: IfNotPresent
\r
158 # prometheus.io/scrape: "true"
\r
159 # prometheus.io/port: "9104"
\r
161 initialDelaySeconds: 15
\r
164 initialDelaySeconds: 5
\r
169 additionalLabels: {}
\r
171 ## Configure the service
\r
172 ## ref: http://kubernetes.io/docs/user-guide/services/
\r
175 ## Specify a service type
\r
176 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types
\r
182 ## Pods Service Account
\r
183 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
\r
185 ## Specifies whether a ServiceAccount should be created
\r
188 ## The name of the ServiceAccount to use.
\r
189 ## If not set and create is true, a name is generated using the mariadb.fullname template
\r
194 secret: mysql-ssl-certs
\r
196 # - name: mysql-ssl-certs
\r
198 # -----BEGIN CERTIFICATE-----
\r
200 # -----END CERTIFICATE-----
\r
202 # -----BEGIN CERTIFICATE-----
\r
204 # -----END CERTIFICATE-----
\r
206 # -----BEGIN RSA PRIVATE KEY-----
\r
208 # -----END RSA PRIVATE KEY-----
\r
210 ## Populates the 'TZ' system timezone environment variable
\r
211 ## ref: https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html
\r
213 ## Default: nil (mysql will use image's default timezone, normally UTC)
\r
214 ## Example: 'Australia/Sydney'
\r
217 # Deployment Annotations
\r
218 deploymentAnnotations: {}
\r
220 # To be added to the database server pod(s)
\r
224 ## Set pod priorityClassName
\r
225 # priorityClassName: {}
\r
228 ## Init container resources defaults
\r