Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ var exceptions = []func(pod corev1.Pod) (string, bool){
exceptionWithJira("openshift-cnv/kubevirt-apiserver-proxy-", "https://issues.redhat.com/browse/OCPBUGS-70353"),
exceptionWithJira("openshift-cnv/kubevirt-console-plugin-", "https://issues.redhat.com/browse/OCPBUGS-70353"),
exceptionWithJira("kube-system/global-pull-secret-syncer-", "https://issues.redhat.com/browse/OCPBUGS-70354"),
exceptionWithJira("openshift-nmstate/nmstate-console-plugin-", "https://issues.redhat.com/browse/OCPBUGS-77474"),

// Handle the outlier (Namespace only check) manually
func(pod corev1.Pod) (string, bool) {
Expand All @@ -88,10 +89,15 @@ var exceptions = []func(pod corev1.Pod) (string, bool){
}
return "", false
},
// Handle the outlier (Namespace only check) manually
// This one might be simplified to check if it is a debug pod or not.
// Handle the outlier manually
// This one checks if it is a debug pod or not.
func(pod corev1.Pod) (string, bool) {
if pod.Namespace == "openshift-commatrix-test" && strings.Contains(pod.Name, "debug") {
for annotation := range pod.Annotations {
if strings.Contains(annotation, "debug.openshift.io") {
return "https://issues.redhat.com/browse/OCPBUGS-77201", true
}
}
if managedBy, ok := pod.Labels["debug.openshift.io/managed-by"]; ok && managedBy == "oc-debug" {
return "https://issues.redhat.com/browse/OCPBUGS-77201", true
}
return "", false
Expand Down