-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Invalid restic repo prefix when using custom object store plugin #939
Comments
@bashofmann thanks for the report! What kind of object store plugin are you using? |
Basically the s3 object store but with a different signer because of #811. A potential patch for this could be
|
Ok thanks for the info. Another possible option would be to add a method to the BlockStore plugin interface to allow it to return this information. But if your proposed patch works for you, we could certainly start there. @skriss wdyt? |
yeah, I think making this an optional key in the config makes sense. It would be part of a |
Tested it and the above patch with configuring the full restic location ( |
What steps did you take and what happened:
When you have a custom object store plugin configured, the
getRepoPrefix
(https://github.com/heptio/ark/blob/master/pkg/restic/config.go#L43-L79) method returns an invalid restic repo string and there is no way to configure ark in a way to get a valid one becauseprefix
will remain empty.This results in the following error message when creating a backup with restic:
What did you expect to happen:
There should be a way to configure ark to produce a valid restic repo string.
Environment:
ark version
): 0.9.7kubectl version
): 1.11.3The text was updated successfully, but these errors were encountered: