Skip to content

Commit 027a85a

Browse files
authored
[Gating][IUO]Add kubevirt-migration-operator to the list of expected resources (#3159)
##### Short description: Add kubevirt-migration-operator to the list of expected resources in openshift-virtualization ##### More details: Introduced by kubevirt/hyperconverged-cluster-operator#3913 in cnv4.21. ##### What this PR does / why we need it: Fix the gating test. ##### Which issue(s) this PR fixes: N/A ##### Special notes for reviewer: N/A ##### jira-ticket: N/A <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Recognizes and tracks the KubeVirt migration operator as a managed component across deployment and cluster resource lists. * Adds migration-related controller and CRD resource identifiers to the system's monitored resource groupings and listings. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent dec78c3 commit 027a85a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utilities/constants.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ class S390X:
460460
NETWORKPOLICY_STR = "NetworkPolicy"
461461
AAQ_OPERATOR = "aaq-operator"
462462
WINDOWS_BOOTSOURCE_PIPELINE = "windows-bootsource-pipeline"
463+
KUBEVIRT_MIGRATION_OPERATOR = "kubevirt-migration-operator"
463464
# All hco relate objects with kind
464465
ALL_HCO_RELATED_OBJECTS = [
465466
{KUBEVIRT_HYPERCONVERGED_PROMETHEUS_RULE: PROMETHEUSRULE_STR},
@@ -516,6 +517,7 @@ class S390X:
516517
KUBEMACPOOL_CERT_MANAGER,
517518
KUBEMACPOOL_MAC_CONTROLLER_MANAGER,
518519
KUBEVIRT_CONSOLE_PLUGIN,
520+
KUBEVIRT_MIGRATION_OPERATOR,
519521
SSP_OPERATOR,
520522
VIRT_API,
521523
VIRT_CONTROLLER,
@@ -550,6 +552,7 @@ class S390X:
550552
KUBEVIRT_APISERVER_PROXY,
551553
KUBEVIRT_IPAM_CONTROLLER_MANAGER,
552554
HPP_POOL,
555+
KUBEVIRT_MIGRATION_OPERATOR,
553556
]
554557
ALL_CNV_DAEMONSETS = [
555558
BRIDGE_MARKER,
@@ -565,6 +568,7 @@ class S390X:
565568
CLUSTER_NETWORK_ADDONS_OPERATOR,
566569
HOSTPATH_PROVISIONER_OPERATOR,
567570
HYPERCONVERGED_CLUSTER_OPERATOR,
571+
KUBEVIRT_MIGRATION_OPERATOR,
568572
"kubevirt-operator",
569573
SSP_OPERATOR,
570574
HYPERCONVERGED_CLUSTER_CLI_DOWNLOAD,
@@ -637,6 +641,7 @@ class S390X:
637641
f"hostpathprovisioners.{Resource.ApiGroup.HOSTPATHPROVISIONER_KUBEVIRT_IO}",
638642
f"hyperconvergeds.{Resource.ApiGroup.HCO_KUBEVIRT_IO}",
639643
f"kubevirts.{Resource.ApiGroup.KUBEVIRT_IO}",
644+
f"migcontrollers.{Resource.ApiGroup.MIGRATIONS_KUBEVIRT_IO}",
640645
f"migrationpolicies.{Resource.ApiGroup.MIGRATIONS_KUBEVIRT_IO}",
641646
f"networkaddonsconfigs.{Resource.ApiGroup.NETWORKADDONSOPERATOR_NETWORK_KUBEVIRT_IO}",
642647
f"objecttransfers.{Resource.ApiGroup.CDI_KUBEVIRT_IO}",

0 commit comments

Comments
 (0)