Remove unused scheme passed to reconcilers (#121)

The scheme is part of the manager so we do not need to pass it in the
struct.
This commit is contained in:
Philip Laine
2026-03-12 21:39:56 +01:00
committed by GitHub
parent 81f7a2bd51
commit 0fde3631b2
13 changed files with 23 additions and 57 deletions
@@ -62,7 +62,6 @@ var _ = Describe("Service Controller", func() {
Expect(k8sClient.Create(ctx, service)).To(Succeed())
controllerReconciler = &ServiceReconciler{
Client: k8sClient,
Scheme: k8sClient.Scheme(),
ClusterName: "kubernetes",
NamespacedNetworks: false,
ClusterDNS: "svc.cluster.local",