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

Validate credentials before performing the move #137

Open
migmartri opened this issue Jan 18, 2022 · 0 comments
Open

Validate credentials before performing the move #137

migmartri opened this issue Jan 18, 2022 · 0 comments

Comments

@migmartri
Copy link
Contributor

Currently, if the target registry credentials are wrong, the system does not fail at first but instead tells you that pushing the images is required https://github.com/vmware-tanzu/asset-relocation-tool-for-kubernetes/blob/main/internal/container_registry.go#L47

Ideally we should be able to detect 401/403 errors and return here. We should double check that a similar validation is made for the source container repository too

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

No branches or pull requests

2 participants
@migmartri and others