Skip to content

Commit

Permalink
Merge pull request #1050 from haarchri/fix/kms-key-alias
Browse files Browse the repository at this point in the history
fix(init): #1049 fix problem that kms-key ref picks wrong metadata.name
  • Loading branch information
haarchri authored Jan 6, 2022
2 parents 9531351 + 665c9da commit 6cba767
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/kms/key/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ func SetupKey(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll
resource.ManagedKind(svcapitypes.KeyGroupVersionKind),
managed.WithExternalConnecter(&connector{kube: mgr.GetClient(), opts: opts}),
managed.WithPollInterval(poll),
managed.WithInitializers(),
managed.WithLogger(l.WithValues("controller", name)),
managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name)))))
}
Expand Down

0 comments on commit 6cba767

Please sign in to comment.