File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
test/extended/cpu_partitioning Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 5454 "cloud-ingress-operator" : {"openshift-cloud-ingress-operator" },
5555 "managed-velero-operator" : {"openshift-velero" },
5656 "velero" : {"openshift-velero" },
57+
58+ "gateway" : {"openshift-ingress" },
5759 }
5860
5961 excludedBestEffortDaemonSets = map [string ][]string {
@@ -107,6 +109,13 @@ var _ = g.Describe("[sig-node][apigroup:config.openshift.io] CPU Partitioning cl
107109 o .Expect (err ).NotTo (o .HaveOccurred ())
108110
109111 for _ , deployment := range deployments .Items {
112+ if deployment .Namespace == "openshift-ingress" && strings .HasPrefix (deployment .Name , "gateway-" ) {
113+ // The gateway deployment's name contains a hash, which
114+ // must be removed in order to be able to define an
115+ // exception. Remove this if block when the
116+ // corresponding exception is removed.
117+ deployment .Name = "gateway"
118+ }
110119 // If we find a deployment that is to be excluded from resource checks, we skip looking for their pods.
111120 if isExcluded (excludedBestEffortDeployments , deployment .Namespace , deployment .Name ) {
112121 framework .Logf ("skipping resource check on deployment (%s/%s) due to presence in BestEffort exclude list" , deployment .Namespace , deployment .Name )
You can’t perform that action at this time.
0 commit comments