+# Values yaml file for reference from the github. - currently not used.\r
+\r
+## mysql image version\r
+## ref: https://hub.docker.com/r/library/mysql/tags/\r
+##\r
+image: "mysql"\r
+imageTag: "5.7.26"\r
+\r
+strategy:\r
+ type: Recreate\r
+\r
+busybox:\r
+ image: "busybox"\r
+ tag: "1.29.3"\r
+\r
+testFramework:\r
+ enabled: true\r
+ image: "dduportal/bats"\r
+ tag: "0.4.0"\r
+\r
+## Specify password for root user\r
+##\r
+## Default: random 10 character string\r
+# mysqlRootPassword: testing\r
+\r
+## Create a database user\r
+##\r
+# mysqlUser:\r
+## Default: random 10 character string\r
+# mysqlPassword:\r
+\r
+## Allow unauthenticated access, uncomment to enable\r
+##\r
+# mysqlAllowEmptyPassword: true\r
+\r
+## Create a database\r
+##\r
+# mysqlDatabase:\r
+\r
+## Specify an imagePullPolicy (Required)\r
+## It's recommended to change this to 'Always' if the image tag is 'latest'\r
+## ref: http://kubernetes.io/docs/user-guide/images/#updating-images\r
+##\r
+imagePullPolicy: IfNotPresent\r
+\r
+## Additionnal arguments that are passed to the MySQL container.\r
+## For example use --default-authentication-plugin=mysql_native_password if older clients need to\r
+## connect to a MySQL 8 instance.\r
+args: []\r
+\r
+extraVolumes: |\r
+ # - name: extras\r
+ # emptyDir: {}\r
+\r
+extraVolumeMounts: |\r
+ # - name: extras\r
+ # mountPath: /usr/share/extras\r
+ # readOnly: true\r
+\r
+extraInitContainers: |\r
+ # - name: do-something\r
+ # image: busybox\r
+ # command: ['do', 'something']\r
+\r
+# Optionally specify an array of imagePullSecrets.\r
+# Secrets must be manually created in the namespace.\r
+# ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod\r
+# imagePullSecrets:\r
+ # - name: myRegistryKeySecretName\r
+\r
+## Node selector\r
+## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector\r
+nodeSelector: {}\r
+\r
+## Affinity\r
+## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity\r
+affinity: {}\r
+\r
+## Tolerations for pod assignment\r
+## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/\r
+##\r
+tolerations: []\r
+\r
+livenessProbe:\r
+ initialDelaySeconds: 30\r
+ periodSeconds: 10\r
+ timeoutSeconds: 5\r
+ successThreshold: 1\r
+ failureThreshold: 3\r
+\r
+readinessProbe:\r
+ initialDelaySeconds: 5\r
+ periodSeconds: 10\r
+ timeoutSeconds: 1\r
+ successThreshold: 1\r
+ failureThreshold: 3\r
+\r
+## Persist data to a persistent volume\r
+persistence:\r
+ enabled: true\r
+ ## database data Persistent Volume Storage Class\r
+ ## If defined, storageClassName: <storageClass>\r
+ ## If set to "-", storageClassName: "", which disables dynamic provisioning\r
+ ## If undefined (the default) or set to null, no storageClassName spec is\r
+ ## set, choosing the default provisioner. (gp2 on AWS, standard on\r
+ ## GKE, AWS & OpenStack)\r
+ ##\r
+ # storageClass: "-"\r
+ accessMode: ReadWriteOnce\r
+ size: 8Gi\r
+ annotations: {}\r
+\r
+## Use an alternate scheduler, e.g. "stork".\r
+## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/\r
+##\r
+# schedulerName:\r
+\r
+## Security context\r
+securityContext:\r
+ enabled: false\r
+ runAsUser: 999\r
+ fsGroup: 999\r
+\r
+## Configure resource requests and limits\r
+## ref: http://kubernetes.io/docs/user-guide/compute-resources/\r
+##\r
+resources:\r
+ requests:\r
+ memory: 256Mi\r
+ cpu: 100m\r
+\r
+# Custom mysql configuration files path\r
+configurationFilesPath: /etc/mysql/conf.d/\r
+\r
+# Custom mysql configuration files used to override default mysql settings\r
+configurationFiles: {}\r
+# mysql.cnf: |-\r
+# [mysqld]\r
+# skip-name-resolve\r
+# ssl-ca=/ssl/ca.pem\r
+# ssl-cert=/ssl/server-cert.pem\r
+# ssl-key=/ssl/server-key.pem\r
+\r
+# Custom mysql init SQL files used to initialize the database\r
+initializationFiles: {}\r
+# first-db.sql: |-\r
+# CREATE DATABASE IF NOT EXISTS first DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;\r
+# second-db.sql: |-\r
+# CREATE DATABASE IF NOT EXISTS second DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;\r
+\r
+metrics:\r
+ enabled: false\r
+ image: prom/mysqld-exporter\r
+ imageTag: v0.10.0\r
+ imagePullPolicy: IfNotPresent\r
+ resources: {}\r
+ annotations: {}\r
+ # prometheus.io/scrape: "true"\r
+ # prometheus.io/port: "9104"\r
+ livenessProbe:\r
+ initialDelaySeconds: 15\r
+ timeoutSeconds: 5\r
+ readinessProbe:\r
+ initialDelaySeconds: 5\r
+ timeoutSeconds: 1\r
+ flags: []\r
+ serviceMonitor:\r
+ enabled: false\r
+ additionalLabels: {}\r
+\r
+## Configure the service\r
+## ref: http://kubernetes.io/docs/user-guide/services/\r
+service:\r
+ annotations: {}\r
+ ## Specify a service type\r
+ ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types\r
+ type: ClusterIP\r
+ port: 3306\r
+ # nodePort: 32000\r
+ # loadBalancerIP:\r
+\r
+## Pods Service Account\r
+## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/\r
+serviceAccount:\r
+ ## Specifies whether a ServiceAccount should be created\r
+ ##\r
+ create: false\r
+ ## The name of the ServiceAccount to use.\r
+ ## If not set and create is true, a name is generated using the mariadb.fullname template\r
+ # name:\r
+\r
+ssl:\r
+ enabled: false\r
+ secret: mysql-ssl-certs\r
+ certificates:\r
+# - name: mysql-ssl-certs\r
+# ca: |-\r
+# -----BEGIN CERTIFICATE-----\r
+# ...\r
+# -----END CERTIFICATE-----\r
+# cert: |-\r
+# -----BEGIN CERTIFICATE-----\r
+# ...\r
+# -----END CERTIFICATE-----\r
+# key: |-\r
+# -----BEGIN RSA PRIVATE KEY-----\r
+# ...\r
+# -----END RSA PRIVATE KEY-----\r
+\r
+## Populates the 'TZ' system timezone environment variable\r
+## ref: https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html\r
+##\r
+## Default: nil (mysql will use image's default timezone, normally UTC)\r
+## Example: 'Australia/Sydney'\r
+# timezone:\r
+\r
+# Deployment Annotations\r
+deploymentAnnotations: {}\r
+\r
+# To be added to the database server pod(s)\r
+podAnnotations: {}\r
+podLabels: {}\r
+\r
+## Set pod priorityClassName\r
+# priorityClassName: {}\r
+\r
+\r
+## Init container resources defaults\r
+initContainer:\r
+ resources:\r
+ requests:\r
+ memory: 10Mi\r
+ cpu: 10m\r