From ac7c03dedade2c0ccb2034027474858d2e062887 Mon Sep 17 00:00:00 2001 From: Dawid Rusnak Date: Wed, 23 Oct 2024 11:44:59 +0200 Subject: [PATCH] fix: register TestTriggers scheme --- 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))