What this PR does / why we need it: The package controller-runtime/pkg/runtime/inject has been removed in controller-runtimev0.15. This package contained long deprecated injection functions (like InjectScheme, InjectLogger,InjectConfig, InjectClient, InjectCache, etc.).
The runtime injection functionality has been deprecated since Controller Runtime 0.10; all of the above fields can be passed from the Manager to structs or interfaces that need them.
The `security.gardener.cloud/pod-security-enforce` annotation in the ControllerRegistration is set to `baseline`. With this, the pods running in the extension namespace should comply with `baseline` pod-security standard.
How to categorize this PR?
/area open-source /kind cleanup /platform vsphere
What this PR does / why we need it: The package
controller-runtime/pkg/runtime/inject
has been removed incontroller-runtime
v0.15
. This package contained long deprecated injection functions (likeInjectScheme
,InjectLogger
,InjectConfig
,InjectClient
,InjectCache
, etc.).The runtime injection functionality has been deprecated since
Controller Runtime 0.10
; all of the above fields can be passed from theManager
to structs or interfaces that need them.Which issue(s) this PR fixes: Part of gardener/gardener#7991
Special notes for your reviewer:
Release note: