Skip to content

Commit

Permalink
Merge pull request #1948 from crossplane-contrib/backport-1947-to-rel…
Browse files Browse the repository at this point in the history
…ease-0.45
  • Loading branch information
MisterMX authored Nov 13, 2023
2 parents 7759b87 + 4a7c450 commit 78c8c20
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
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

0 comments on commit 78c8c20

Please sign in to comment.