Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(): Add support for s3 storage in Kubernetes etcd backup job #25

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

norbertgruszka
Copy link

@norbertgruszka norbertgruszka commented Nov 25, 2024

Description

Add support for s3 storage in Kubernetes etcd backup job

Issues

#22

Checklist

  • This PR contains a description of the changes I'm making
  • I updated applicable README.md files
  • CI is currently green and this is ready for review
  • I am ready to test changes after they are applied and released

@norbertgruszka norbertgruszka linked an issue Nov 25, 2024 that may be closed by this pull request
@norbertgruszka norbertgruszka changed the title 22 add support for s3 storage feat(): Add support for s3 storage in Kubernetes etcd backup job Nov 25, 2024
@norbertgruszka norbertgruszka marked this pull request as ready for review November 26, 2024 11:50
mv /tmp/etcd-backup/* "${BACKUP_PATH_POD}"
rm -rv /tmp/etcd-backup

# expire backup
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to manage the removal of old backups in there too with mc maybe? Then we would not need of a retention policy, what do you think?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know, I mostly focused on the first if statement, which publishes to s3. This part is responsible for nfs backups.

This part is edited, because I had to format it and that's all

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, well we could add that later if needed, so for now I suggest we are fine! Let's merge and test this then :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for S3 storage
3 participants