Skip to content

Commit 37522ee

Browse files
authored
[Bugfix] Fix Networking Client (#1695)
1 parent a456ef6 commit 37522ee

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- (Feature) ArangoRoute CRD
55
- (Feature) ArangoRoute Operator
66
- (Feature) Add Kubernetes Services for Group
7+
- (Bugfix) Fix Networking Client
78

89
## [1.2.42](https://github.com/arangodb/kube-arangodb/tree/1.2.42) (2024-07-23)
910
- (Maintenance) Go 1.22.4 & Kubernetes 1.29.6 libraries

pkg/apis/networking/v1alpha1/register.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ func Resource(resource string) schema.GroupResource {
4646

4747
// addKnownTypes adds the set of types defined in this package to the supplied scheme.
4848
func addKnownTypes(s *runtime.Scheme) error {
49-
s.AddKnownTypes(SchemeGroupVersion)
49+
s.AddKnownTypes(SchemeGroupVersion,
50+
&ArangoRoute{},
51+
&ArangoRouteList{},
52+
)
5053
meta.AddToGroupVersion(s, SchemeGroupVersion)
5154
return nil
5255
}

0 commit comments

Comments
 (0)