Closed skillcoder closed 2 months ago
This is a great contribution, ty! :rocket:
However this change will impact on the backup pvc size since it will need to also contains the temporary tar.gz, can you please also add line about this here in doc?
After that I will immediately merge this PR, Thanks!
This is great, ty!
Changes
use atomic mv to create backup to avoid broken unrestorable backups
Details
https://github.com/jenkinsci/kubernetes-operator/blob/cf49a4a28fbb1af5250031ce89b0a5267d81aca1/backup/pvc/bin/backup.sh#L8C1-L8C15
https://www.gnu.org/software/autogen/mktemp.html
https://www.gnu.org/software/coreutils/manual/html_node/mv-invocation.html#mv-invocation
To fix need just change this line to something like this
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you review them:
See the contribution guide for more details.
Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS.
Release Notes