gardener / gardener-extension-provider-vsphere

Gardener extension controller for the vSphere cloud provider (https://www.vmware.com).
https://gardener.cloud
Other
8 stars 46 forks source link

Vendor `gardener@1.75.0` and drop dependency injection functions #457

Closed briantopping closed 1 year ago

briantopping commented 1 year ago

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 in controller-runtime v0.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.

Which issue(s) this PR fixes: Part of gardener/gardener#7991

Special notes for your reviewer:

Release note:

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.