0.5.0
⚠️ Helm charts and docker images location changed
- Helm charts repository changed to https://helm-charts.bitpoke.io
- Docker images are now published to https://hub.docker.com/u/bitpoke
Added
- Add
imageandmysqlVersionoptions to MysqlCluster chart. This bumps the chart version to0.3.1 - Add
backupAffinity,backupNodeSelector,backupPriorityClassName,backupTolerations
to.Spec.PodSpecto allow specifying custom scheduling constraints for backup jobs. - Add the ability to set the
imagePullSecretsfor the operator statefulset. - Add Google Drive via service account as backup option.
- Add
initBucketURLandinitBucketSecretNameoptions to MysqlCluster chart. This bumps the chart version to0.3.0 - Add an example of how initContainers can be used to fix hostPath permissions.
- Add a lifecycle preStop hook for the
mysqlcontainer. Before killing the master MySQL process,
it triggers agraceful-master-takeover-autocommand in Orchestrator. This is disabled by
default, to enable it setgracefulShutdown.enabled=truein chart values or set the controller
command argumentfailover-before-shutdowntotrue. - Add
mysqlLifecycleto.Spec.PodSpecto allow overriding the default lifecycle hook for the
mysqlcontainer. - Add
backupCompressCommandandbackupDecompressCommandto allow using
different compressors/decompressors when backing up or restoring. - Add support for MySQL version 8.0
- Add
go modulescache - Support cron timezone
Changed
- Only add
binlog-space-limitforperconaimage - Make user-defined InitContainer take the precedence
- Set timeout of 15s on connection between the operator and Orchestrator
- Bump controller-util dependency to 0.3.0 which fixes some updates on pod spec.
- Removed
NO_AUTO_VALUE_ON_ZEROfromsql-modeto be inline with MySQL default value - Remove use go module instead of dep
- Update k8s client to
v0.21.2 - Update kubebuilder (to
v2.3.1) along with controller-runtime (tov0.9.2) and controller-gen - Update rclone to
v1.53.1 - Update
Orchestratorversion fromv3.1.2tov3.2.3 - Set default MySQL server version to
5.7.31 - Generate CRDs with controller-gen
v0.5.0 - Update
getOrdinalFromHostnameandIsFirstPodInSet - Use
klogfor logging - Use https://github.com/bitpoke/build for building the project
Fixed
- Fix insufficient permissions during startup
- Fix the
xtrabackup--tables-excludecannot take effect - Fix the pod unable to connect
Orchestrator - Fix pod labels diff of map
- Fixed backup cleanup job bug (#577)
- Fix Kubebuilder path in Makefile.
- Fix #632 lifeCycle preStop script is not copied to given directory.
- Fix #637 mysqlbackup status is not updated correctly.
- Fix #647 custom conf can't overwrite the default conf
- Fix #627 let Orchestrator do the failover
- Fix #694 the error caused by backing up without waiting for master to be created.
🎉 With this release let's welcome @cndoit18 as a project contributor and maintainer!