Skip to content

Commit

Permalink
DO NOT MERGE: Add RouteAgent to known types
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
  • Loading branch information
tpantelis committed Sep 16, 2024
1 parent 7f2a515 commit d9dc74c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/subctl/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ func init() {
runtime.Must(submarinerv1.AddToScheme(scheme.Scheme))
runtime.Must(submarineropv1a1.AddToScheme(scheme.Scheme))

scheme.Scheme.AddKnownTypes(submarinerv1.SchemeGroupVersion, &submarinerv1.RouteAgent{}, &submarinerv1.RouteAgentList{})

rest.SetDefaultWarningHandler(suppressWarnings{})

log.SetLogger(logr.New(log.NullLogSink{}))
Expand Down

0 comments on commit d9dc74c

Please sign in to comment.