@@ -22,8 +22,6 @@ import (
2222
2323// +kubebuilder:rbac:groups={ { .APIGroup } },resources={ { ToLower .CRD.Plural } },verbs=get;list;watch;create;update;patch;delete
2424// +kubebuilder:rbac:groups={ { .APIGroup } },resources={ { ToLower .CRD.Plural } }/status,verbs=get;update;patch
25- // +kubebuilder:rbac:groups="",resources=namespaces,verbs=get;list;watch
26- // +kubebuilder:rbac:groups="",resources=configmaps,verbs=get;list;watch
2725
2826// resourceManager is responsible for providing a consistent way to perform
2927// CRUD operations in a backend AWS service API for Book custom resources.
@@ -37,9 +35,9 @@ type resourceManager struct {
3735 // metrics contains a collection of Prometheus metric objects that the
3836 // service controller and its reconcilers track
3937 metrics *ackmetrics.Metrics
40- // rr is the AWSResourceReconciler which can be used for various utility
38+ // rr is the Reconciler which can be used for various utility
4139 // functions such as querying for Secret values given a SecretReference
42- rr acktypes.AWSResourceReconciler
40+ rr acktypes.Reconciler
4341 // awsAccountID is the AWS account identifier that contains the resources
4442 // managed by this resource manager
4543 awsAccountID ackv1alpha1.AWSAccountID
@@ -160,7 +158,7 @@ func newResourceManager(
160158 cfg ackcfg.Config,
161159 log logr.Logger,
162160 metrics *ackmetrics.Metrics,
163- rr acktypes.AWSResourceReconciler ,
161+ rr acktypes.Reconciler ,
164162 sess *session.Session,
165163 id ackv1alpha1.AWSAccountID,
166164 region ackv1alpha1.AWSRegion,
0 commit comments