From 9daf1ee77013d4c709353625c6891af8085944e2 Mon Sep 17 00:00:00 2001 From: Danail Branekov Date: Fri, 17 Jan 2025 16:05:51 +0000 Subject: [PATCH] Collect logs from optional Korifi controllers fixes #3721 --- tests/helpers/fail_handler/pods.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/helpers/fail_handler/pods.go b/tests/helpers/fail_handler/pods.go index 90a6a744f..22045ea7d 100644 --- a/tests/helpers/fail_handler/pods.go +++ b/tests/helpers/fail_handler/pods.go @@ -215,6 +215,24 @@ func PrintKorifiLogs(config *rest.Config, correlationId string, since time.Time) LabelValue: "korifi-controllers", Since: tools.PtrTo(metav1.NewTime(since)), }, + { + Namespace: "korifi", + LabelKey: "app", + LabelValue: "kpack-image-builder", + Since: tools.PtrTo(metav1.NewTime(since)), + }, + { + Namespace: "korifi", + LabelKey: "app", + LabelValue: "statefulset-runner", + Since: tools.PtrTo(metav1.NewTime(since)), + }, + { + Namespace: "korifi", + LabelKey: "app", + LabelValue: "job-task-runner", + Since: tools.PtrTo(metav1.NewTime(since)), + }, }) }