-
Notifications
You must be signed in to change notification settings - Fork 2
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
backend-storage/backups/tag-on-upload #281
Conversation
LGTM label has been added. Git tree hash: 2cdd2a7c669da8c469a793f356263f17ca47d73d
|
@roivaz can you please rebase? |
10cfe34
to
742d6e5
Compare
LGTM label has been added. Git tree hash: 3c0ca9c05c934a5b7edeb681084e943eaeda7788
|
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: roivaz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
In order for the bucket replication policy based on tags to trigger in a replicated AWS bucket, the tags need to be present on object creation. Uploading the object and then adding the backups doesn't trigger the replication.
This PR uses python's boto3 to upload the backup intead of awscli, as it has support to specify object tags directly in the upload api call.
The code has been reworked to support both the remote execution over ssh of commands and scripts passed through stdin to the remote server.
/kind feature
/priority important-longterm
/assign