From 171ad95e1eba495fb286f2b57b05b2bdee90934a Mon Sep 17 00:00:00 2001 From: Matt Bush Date: Thu, 30 May 2024 22:15:02 -0700 Subject: [PATCH] codegen Signed-off-by: Matt Bush --- internal/controller/eks/accessentry/zz_controller.go | 1 - internal/controller/eks/accesspolicyassociation/zz_controller.go | 1 - 2 files changed, 2 deletions(-) diff --git a/internal/controller/eks/accessentry/zz_controller.go b/internal/controller/eks/accessentry/zz_controller.go index f29f1088b3..570b7c6c8f 100755 --- a/internal/controller/eks/accessentry/zz_controller.go +++ b/internal/controller/eks/accessentry/zz_controller.go @@ -32,7 +32,6 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { for _, i := range o.Provider.Resources["aws_eks_access_entry"].InitializerFns { initializers = append(initializers, i(mgr.GetClient())) } - initializers = append(initializers, managed.NewNameAsExternalName(mgr.GetClient())) cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), *o.SecretStoreConfigGVK, connection.WithTLSConfig(o.ESSOptions.TLSConfig))) diff --git a/internal/controller/eks/accesspolicyassociation/zz_controller.go b/internal/controller/eks/accesspolicyassociation/zz_controller.go index 92d43924b6..fb8232a9ef 100755 --- a/internal/controller/eks/accesspolicyassociation/zz_controller.go +++ b/internal/controller/eks/accesspolicyassociation/zz_controller.go @@ -29,7 +29,6 @@ import ( func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { name := managed.ControllerName(v1beta1.AccessPolicyAssociation_GroupVersionKind.String()) var initializers managed.InitializerChain - initializers = append(initializers, managed.NewNameAsExternalName(mgr.GetClient())) cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), *o.SecretStoreConfigGVK, connection.WithTLSConfig(o.ESSOptions.TLSConfig)))