Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: readd missed empty initializers after tagging removal #1947

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkg/controller/acm/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func SetupCertificate(mgr ctrl.Manager, o controller.Options) error {
reconcilerOpts := []managed.ReconcilerOption{
managed.WithExternalConnecter(&connector{client: mgr.GetClient(), newClientFn: acm.NewClient}),
managed.WithConnectionPublishers(),
managed.WithInitializers(),
managed.WithPollInterval(o.PollInterval),
managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())),
managed.WithLogger(o.Logger.WithValues("controller", name)),
Expand Down
1 change: 1 addition & 0 deletions pkg/controller/acmpca/certificateauthority/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func SetupCertificateAuthority(mgr ctrl.Manager, o controller.Options) error {
reconcilerOpts := []managed.ReconcilerOption{
managed.WithExternalConnecter(&connector{client: mgr.GetClient(), newClientFn: acmpca.NewClient}),
managed.WithConnectionPublishers(),
managed.WithInitializers(),
managed.WithPollInterval(o.PollInterval),
managed.WithLogger(o.Logger.WithValues("controller", name)),
managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))),
Expand Down
1 change: 1 addition & 0 deletions pkg/controller/ec2/transitgatewayvpcattachment/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func SetupTransitGatewayVPCAttachment(mgr ctrl.Manager, o controller.Options) er
reconcilerOpts := []managed.ReconcilerOption{
managed.WithExternalConnecter(&connector{kube: mgr.GetClient(), opts: opts}),
managed.WithLogger(o.Logger.WithValues("controller", name)),
managed.WithInitializers(),
managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))),
managed.WithConnectionPublishers(cps...),
}
Expand Down
1 change: 1 addition & 0 deletions pkg/controller/ec2/vpcpeeringconnection/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func SetupVPCPeeringConnection(mgr ctrl.Manager, o controller.Options) error {
managed.WithExternalConnecter(&connector{kube: mgr.GetClient(), opts: opts}),
managed.WithCreationGracePeriod(3 * time.Minute),
managed.WithLogger(o.Logger.WithValues("controller", name)),
managed.WithInitializers(),
managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))),
managed.WithConnectionPublishers(cps...),
}
Expand Down
1 change: 1 addition & 0 deletions pkg/controller/iam/openidconnectprovider/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func SetupOpenIDConnectProvider(mgr ctrl.Manager, o controller.Options) error {
reconcilerOpts := []managed.ReconcilerOption{
managed.WithExternalConnecter(&connector{kube: mgr.GetClient(), newClientFn: iam.NewOpenIDConnectProviderClient}),
managed.WithPollInterval(o.PollInterval),
managed.WithInitializers(),
managed.WithLogger(o.Logger.WithValues("controller", name)),
managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))),
managed.WithConnectionPublishers(cps...),
Expand Down
1 change: 1 addition & 0 deletions pkg/controller/iam/policy/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func SetupPolicy(mgr ctrl.Manager, o controller.Options) error {
reconcilerOpts := []managed.ReconcilerOption{
managed.WithExternalConnecter(&connector{kube: mgr.GetClient(), newClientFn: iam.NewPolicyClient, newSTSClientFn: iam.NewSTSClient}),
managed.WithConnectionPublishers(),
managed.WithInitializers(),
managed.WithPollInterval(o.PollInterval),
managed.WithLogger(o.Logger.WithValues("controller", name)),
managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))),
Expand Down
Loading