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

Support AWS_PROFILE for restic backups/restore operations #2096

Merged
merged 3 commits into from
Dec 9, 2019

Conversation

dinesh
Copy link
Contributor

@dinesh dinesh commented Dec 3, 2019

Fixes #2033

It enables Velero to switch credentials if multiple s3-compatible backupLocations are present.

It enables Velero to switch credentials if multiple s3-compatible
backupLocations are present.

Signed-off-by: dinesh <dinesh1042@gmail.com>
Copy link
Member

@skriss skriss left a comment

Choose a reason for hiding this comment

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

couple of nitpicks, but mostly LGTM @dinesh! I'll see if I can test as well.

pkg/restic/aws.go Outdated Show resolved Hide resolved
pkg/restic/common.go Outdated Show resolved Hide resolved
Signed-off-by: dinesh <dinesh1042@gmail.com>
@dinesh
Copy link
Contributor Author

dinesh commented Dec 5, 2019

@skriss tried incorporating your comments, please have a look.

@skriss
Copy link
Member

skriss commented Dec 5, 2019

thanks for the updates!

@skriss
Copy link
Member

skriss commented Dec 5, 2019

I haven't actually tested, but the code LGTM and @dinesh has tested successfully.

@dinesh can you also add a changelog for this PR? See https://velero.io/docs/master/code-standards/ for details.

Signed-off-by: dinesh <dinesh1042@gmail.com>
@dinesh
Copy link
Contributor Author

dinesh commented Dec 6, 2019

@skriss added.

@skriss
Copy link
Member

skriss commented Dec 6, 2019

@nrb @carlisia @prydonius PTAL.

@nrb nrb merged commit 83ef4eb into vmware-tanzu:master Dec 9, 2019
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.

Support profile for AWS-based credentials for restic
3 participants