diff --git a/pkg/runtime/inject/inject.go b/pkg/runtime/inject/inject.go index 9af45b93f6..48cd2f2cd9 100644 --- a/pkg/runtime/inject/inject.go +++ b/pkg/runtime/inject/inject.go @@ -72,6 +72,8 @@ func ConfigInto(config *rest.Config, i interface{}) (bool, error) { // Client is used by the ControllerManager to inject client into Sources, EventHandlers, Predicates, and // Reconciles +// Deprecated: pass a client.Client to the manager directly. +// The client to be used by the ControllerManager can directly be passed as cluster Options. type Client interface { InjectClient(client.Client) error }