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 that PV selection is valid #1525

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

awels
Copy link
Contributor

@awels awels commented Oct 1, 2024

Instead of validating that Migration Plans don't
share the same namespace, validate that the PVs
selected are not shared between Migration Plans.

This validation happens on the backend and these
modification are to allow the UI to display the
proper progress and error messages in the PV
selection table.

Matches migtools/mig-controller#1393 which modifies the validation to selected PVs in namespaces instead of namespaces

Instead of validating that Migration Plans don't
share the same namespace, validate that the PVs
selected are not shared between Migration Plans.

This validation happens on the backend and these
modification are to allow the UI to display the
proper progress and error messages in the PV
selection table.

Signed-off-by: Alexander Wels <[email protected]>
@awels
Copy link
Contributor Author

awels commented Oct 8, 2024

/cc @dymurray If you could review?

@dymurray dymurray merged commit f78ff94 into migtools:master Oct 16, 2024
1 check passed
rayfordj pushed a commit that referenced this pull request Oct 16, 2024
Instead of validating that Migration Plans don't
share the same namespace, validate that the PVs
selected are not shared between Migration Plans.

This validation happens on the backend and these
modification are to allow the UI to display the
proper progress and error messages in the PV
selection table.

Signed-off-by: Alexander Wels <[email protected]>
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.

3 participants