-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
Description
When specifying the registry path in the DWOC manifest, if a '/' is present at the end of the path, pushing a backup to the specified registry fails, as it adds an additional '/' to the path between the username and the target repository. This manifests in an error that says:
Please make sure the provided reference is in the form of /[:tag|@digest]
How To Reproduce
Steps to reproduce the behavior:
- Create a DWCO resource and specify the registry path with an ending '/', such as "quay.io//"
- Create a DW resource
- Force a backup by stopping the DW resource
- Inspect the logs of the backup pod, you should see the error: Please make sure the provided reference is in the form of /[:tag|@digest]
Expected behavior
The registry path should be handled correctly whether it is specified with, or without an ending '/'. If present, remove it, otherwise, leave it as is.
Additional context
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels