From 9723c004558c90563d02db09025a8ba4c98a61d0 Mon Sep 17 00:00:00 2001 From: Ashraful Haque Tani <48568933+AshrafulHaqueToni@users.noreply.github.com> Date: Thu, 22 Feb 2024 11:14:39 +0600 Subject: [PATCH] ADD gtid purged off in MySQL Addon (#867) Signed-off-by: ashraful --- catalog/kubestash/raw/mysql/mysql-addon.yaml | 1 + .../kubedb-kubestash-catalog/templates/mysql/mysql-addon.yaml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/catalog/kubestash/raw/mysql/mysql-addon.yaml b/catalog/kubestash/raw/mysql/mysql-addon.yaml index 7912fc7dd..bd037f4c9 100644 --- a/catalog/kubestash/raw/mysql/mysql-addon.yaml +++ b/catalog/kubestash/raw/mysql/mysql-addon.yaml @@ -13,6 +13,7 @@ spec: - name: args usage: Arguments to be passed to the dump command. required: false + default: "--set-gtid-purged=OFF" - name: databases usage: List of databases to backup. required: false diff --git a/charts/kubedb-kubestash-catalog/templates/mysql/mysql-addon.yaml b/charts/kubedb-kubestash-catalog/templates/mysql/mysql-addon.yaml index e9b4d6859..6f5243356 100644 --- a/charts/kubedb-kubestash-catalog/templates/mysql/mysql-addon.yaml +++ b/charts/kubedb-kubestash-catalog/templates/mysql/mysql-addon.yaml @@ -17,7 +17,8 @@ spec: function: mysql-backup name: logical-backup parameters: - - name: args + - default: --set-gtid-purged=OFF + name: args required: false usage: Arguments to be passed to the dump command. - name: databases