Skip to content

Commit d8a797f

Browse files
committed
Properly ignore kube guard probe events
1 parent 88b656f commit d8a797f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/monitortestlibrary/pathologicaleventlibrary/duplicated_event_patterns.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ func NewUniversalPathologicalEventMatchers(kubeConfig *rest.Config, finalInterva
328328
name: "KubeAPIReadinessProbeError",
329329
locatorKeyRegexes: map[monitorapi.LocatorKey]*regexp.Regexp{
330330
monitorapi.LocatorNamespaceKey: regexp.MustCompile(`openshift-kube-*`),
331-
monitorapi.LocatorPodKey: regexp.MustCompile(`^kube.*guard.*`),
331+
monitorapi.LocatorPodKey: regexp.MustCompile(`kube.*guard.*`),
332332
},
333333
messageReasonRegex: regexp.MustCompile(`^ProbeError$`),
334334
messageHumanRegex: regexp.MustCompile(`Readiness probe error`),

0 commit comments

Comments
 (0)