diff --git a/internal/gather/connectivity.go b/internal/gather/connectivity.go index 854dfb62..7a987876 100644 --- a/internal/gather/connectivity.go +++ b/internal/gather/connectivity.go @@ -71,6 +71,10 @@ func gatherGateways(info *Info, namespace string) { ResourcesToYAMLFile(info, submarinerv1.SchemeGroupVersion.WithResource("gateways"), namespace, v1.ListOptions{}) } +func gatherRouteAgents(info *Info, namespace string) { + ResourcesToYAMLFile(info, submarinerv1.SchemeGroupVersion.WithResource("routeagents"), namespace, v1.ListOptions{}) +} + func gatherClusterGlobalEgressIPs(info *Info) { ResourcesToYAMLFile(info, submarinerv1.SchemeGroupVersion.WithResource("clusterglobalegressips"), corev1.NamespaceAll, v1.ListOptions{}) } diff --git a/internal/gather/gather.go b/internal/gather/gather.go index 4e8c1188..43269d36 100644 --- a/internal/gather/gather.go +++ b/internal/gather/gather.go @@ -140,6 +140,7 @@ func gatherConnectivity(dataType string, info Info) bool { gatherEndpoints(&info, info.Submariner.Spec.Namespace) gatherClusters(&info, info.Submariner.Spec.Namespace) gatherGateways(&info, info.Submariner.Spec.Namespace) + gatherRouteAgents(&info, info.Submariner.Spec.Namespace) gatherClusterGlobalEgressIPs(&info) gatherGlobalEgressIPs(&info) gatherGlobalIngressIPs(&info)