Skip to content

Commit

Permalink
Merge pull request #279 from SlavaUtesinov/feature/mysqlBackupImageFix
Browse files Browse the repository at this point in the history
CLOUD-838 - MySQL backup image must always be specified
  • Loading branch information
tplavcic authored Feb 1, 2024
2 parents daaac66 + c397771 commit 137da53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/ps-db/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
Expand Down
6 changes: 3 additions & 3 deletions charts/ps-db/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 137da53

Please sign in to comment.