From cb82e1d8f4827ed5eb6abe5c2c14b0d5126f0f4e Mon Sep 17 00:00:00 2001 From: ajanikow <12255597+ajanikow@users.noreply.github.com> Date: Mon, 19 Aug 2024 11:38:25 +0000 Subject: [PATCH] [Bugfix] Fix Networking Client --- CHANGELOG.md | 1 + pkg/apis/networking/v1alpha1/register.go | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cc7238d9..1ef130963 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - (Feature) ArangoRoute CRD - (Feature) ArangoRoute Operator - (Feature) Add Kubernetes Services for Group +- (Bugfix) Fix Networking Client ## [1.2.42](https://github.com/arangodb/kube-arangodb/tree/1.2.42) (2024-07-23) - (Maintenance) Go 1.22.4 & Kubernetes 1.29.6 libraries diff --git a/pkg/apis/networking/v1alpha1/register.go b/pkg/apis/networking/v1alpha1/register.go index af7697c9f..c4ba9767c 100644 --- a/pkg/apis/networking/v1alpha1/register.go +++ b/pkg/apis/networking/v1alpha1/register.go @@ -46,7 +46,10 @@ func Resource(resource string) schema.GroupResource { // addKnownTypes adds the set of types defined in this package to the supplied scheme. func addKnownTypes(s *runtime.Scheme) error { - s.AddKnownTypes(SchemeGroupVersion) + s.AddKnownTypes(SchemeGroupVersion, + &ArangoRoute{}, + &ArangoRouteList{}, + ) meta.AddToGroupVersion(s, SchemeGroupVersion) return nil }