kokuwaio / helm-charts

helm charts maintained by the kokuwa project
GNU General Public License v3.0
41 stars 70 forks source link

[mysqldump] Upload to GoogleStorageBucket should not do deletion #102

Open elwood218 opened 2 years ago

elwood218 commented 2 years ago

Describe the bug At the moment the script for uploading to GoogleStorageBucket is using the "-d" option so the files in the bucket get deleted! Instead this should be done by the Lifycycle management of the Google Storage Bucket.

Version of Helm and Kubernetes: not relevant

Helm Version: not relevant

Kubernetes Version:

not relevant

Which version of the chart: 4.0.2

What happened: Files get deleted by rsync command.

What you expected to happen: Files should not get deleted or at least this should be editable. Then I could use "housekeeping" that my PVC will not grow size and also use the GCP "lifecycle" to manage how many backup files I want to keep in the Google Storage Bucket.

How to reproduce it (as minimally and precisely as possible):

<~-- This could be something like:

values.yaml (only put values which differ from the defaults)

key: value
helm install my-release {{ .GitHubOrg }}/name-of-chart --version version --values values.yaml

-->

Anything else we need to know:

elwood218 commented 2 years ago

Is this project maintained anymore?