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

feat(api): add specification validation for correct VMI creation #627

Merged
merged 3 commits into from
Jan 27, 2025

Conversation

eofff
Copy link
Contributor

@eofff eofff commented Jan 14, 2025

Description

Add VirtualMachine specification validation by affinity and topologySpreadConstraints.
Add block devices name validation (must no contains dots).

Why do we need it, and what problem does it solve?

What is the expected result?

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

@eofff eofff requested review from diafour and Isteb4k January 14, 2025 13:59
@eofff eofff self-assigned this Jan 14, 2025
@eofff eofff force-pushed the feat/api/kubevirt-like-validation branch from 714aa1b to f1d82c9 Compare January 15, 2025 08:53
@eofff eofff force-pushed the feat/api/kubevirt-like-validation branch 2 times, most recently from 81e3e27 to 11230d5 Compare January 27, 2025 12:04
@eofff eofff requested a review from Isteb4k January 27, 2025 12:18
@eofff eofff force-pushed the feat/api/kubevirt-like-validation branch from 43f42db to 8dd4ea6 Compare January 27, 2025 13:06
Valeriy Khorunzhin added 3 commits January 27, 2025 16:29
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Signed-off-by: Valeriy Khorunzhin <[email protected]>
@eofff eofff force-pushed the feat/api/kubevirt-like-validation branch from 8dd4ea6 to d1fe2e9 Compare January 27, 2025 13:29
@eofff eofff merged commit 345db2d into main Jan 27, 2025
12 checks passed
@eofff eofff deleted the feat/api/kubevirt-like-validation branch January 27, 2025 15:40
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.

2 participants