This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2239038 - validating webhook required for virtualMachineMigrationResourceQuota
Summary: validating webhook required for virtualMachineMigrationResourceQuota
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 4.14.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.15.0
Assignee: sgott
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-14 22:03 UTC by Denys Shchedrivyi
Modified: 2023-12-14 16:10 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-14 16:10:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   CNV-32997 0 None None None 2023-12-14 16:10:28 UTC

Description Denys Shchedrivyi 2023-09-14 22:03:20 UTC
Description of problem:
 Currently we don't have validating webhook for `virtualMachineMigrationResourceQuota` CR, so it is possible to set anything under `additionalMigrationResources` field:

$ oc get vmmrq my-vmmrq -o json | jq .spec
{
  "additionalMigrationResources": {
    "any.resource": 1,
    "services": 1
  }
} 


 Probably, VMMRQ should support only those resources that are associated with VM migrations, e.g.: cpu, memory, number of pods..


Version-Release number of selected component (if applicable):
4.14


Note You need to log in before you can comment on or make changes to this bug.