From 4cd3d2548cfed7ec1c3412ce0b971ccd801c2f8f Mon Sep 17 00:00:00 2001 From: varshaprasad96 Date: Thu, 7 Jan 2021 14:22:18 -0800 Subject: [PATCH] Deprecate InjectClient --- pkg/runtime/inject/inject.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/runtime/inject/inject.go b/pkg/runtime/inject/inject.go index 9af45b93f6..7c7f5d0bc0 100644 --- a/pkg/runtime/inject/inject.go +++ b/pkg/runtime/inject/inject.go @@ -72,6 +72,7 @@ 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. type Client interface { InjectClient(client.Client) error }