From ba9b7a63a87d0183ce756bbe0160fa5dc423ce6a Mon Sep 17 00:00:00 2001 From: Dawid Rusnak Date: Tue, 29 Oct 2024 20:55:48 +0100 Subject: [PATCH] fix: register TestTriggers scheme (#304) --- pkg/client/client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/client/client.go b/pkg/client/client.go index 2e782506..f5983d4b 100644 --- a/pkg/client/client.go +++ b/pkg/client/client.go @@ -21,6 +21,7 @@ import ( testsuitev2 "github.com/kubeshop/testkube-operator/api/testsuite/v2" testsuitev3 "github.com/kubeshop/testkube-operator/api/testsuite/v3" testsuiteexecutionv1 "github.com/kubeshop/testkube-operator/api/testsuiteexecution/v1" + testtriggersv1 "github.com/kubeshop/testkube-operator/api/testtriggers/v1" testworkflowsv1 "github.com/kubeshop/testkube-operator/api/testworkflows/v1" ) @@ -35,6 +36,7 @@ func GetClient() (client.Client, error) { utilruntime.Must(testsv2.AddToScheme(scheme)) utilruntime.Must(testsv3.AddToScheme(scheme)) utilruntime.Must(testsuitev1.AddToScheme(scheme)) + utilruntime.Must(testtriggersv1.AddToScheme(scheme)) utilruntime.Must(corev1.AddToScheme(scheme)) utilruntime.Must(testsuitev2.AddToScheme(scheme)) utilruntime.Must(testsuitev3.AddToScheme(scheme))