Skip to content

Commit

Permalink
fix: register TestTriggers scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 committed Oct 23, 2024
1 parent 515e6a3 commit ac7c03d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand All @@ -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))
Expand Down

0 comments on commit ac7c03d

Please sign in to comment.