From 11268f0fa00c10d67f6b89af78684428411cb4d3 Mon Sep 17 00:00:00 2001 From: SlavaUtesinov Date: Tue, 16 Jan 2024 10:10:06 +0300 Subject: [PATCH 1/2] mysql backup image fix --- charts/ps-db/templates/cluster.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/ps-db/templates/cluster.yaml b/charts/ps-db/templates/cluster.yaml index 2f03cfe8..5e15d4f3 100644 --- a/charts/ps-db/templates/cluster.yaml +++ b/charts/ps-db/templates/cluster.yaml @@ -454,12 +454,12 @@ spec: {{- end }} backup: - {{- if not .Values.backup.enabled }} + {{- $backup := .Values.backup }} + image: {{ $backup.image.repository }}:{{ $backup.image.tag }} + {{- if not $backup.enabled }} enabled: false {{- else }} - {{- $backup := .Values.backup }} enabled: true - image: {{ $backup.image.repository }}:{{ $backup.image.tag }} {{- if $backup.imagePullPolicy }} imagePullPolicy: {{ $backup.imagePullPolicy }} {{- end }} From acab56295ed10224b96f2805a99e12c490b4c09c Mon Sep 17 00:00:00 2001 From: SlavaUtesinov Date: Tue, 16 Jan 2024 10:15:49 +0300 Subject: [PATCH 2/2] version bump --- charts/ps-db/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/ps-db/Chart.yaml b/charts/ps-db/Chart.yaml index 7815e1d9..1c0d0856 100644 --- a/charts/ps-db/Chart.yaml +++ b/charts/ps-db/Chart.yaml @@ -3,7 +3,7 @@ appVersion: "0.6.0" description: A Helm chart for installing Percona Server Databases using the PS Operator. name: ps-db home: https://www.percona.com/doc/kubernetes-operator-for-mysql/ps -version: 0.6.4 +version: 0.6.5 maintainers: - name: tplavcic email: tomislav.plavcic@percona.com