⚠️ Action Required: Replace Deprecated gcr.io/kubebuilder/kube-rbac-proxy #64
Labels
needs-kind
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
This issue was raised because we found the image
gcr.io/kubebuilder/kube-rbac-proxy
in the files of this repository.Description
gcr.io/kubebuilder/kube-rbac-proxy
is deprecated and will become unavailable.You must move as soon as possible, sometime from early 2025, the GCR will go away.
If your project is using
gcr.io/kubebuilder/kube-rbac-proxy
, it may fail to work when the image can no longer be pulled. If not, nothing is required, and you can close this issue.Using the image
gcr.io/kubebuilder/kube-rbac-proxy
?kube-rbac-proxy was historically used to protect the metrics endpoint. However, its usage has been discontinued in Kubebuilder. The default scaffold now leverages the
WithAuthenticationAndAuthorization
feature provided by Controller-Runtime.This feature provides integrated support for securing metrics endpoints by embedding authentication (
authn
) and authorization (authz
) mechanisms directly into the controller manager's metrics server, replacing the need for (https://github.com/brancz/kube-rbac-proxy) to secure metrics endpoints.What To Do?
You must replace the deprecated image
gcr.io/kubebuilder/kube-rbac-proxy
with an alternative approach. For example:Update your project to use
WithAuthenticationAndAuthorization
:Alternatively, replace the image with another trusted source at your own risk, as its usage has been discontinued in Kubebuilder.
For further information, suggestions, and guidance:
We sincerely apologize for any inconvenience this may cause.
Thank you for your cooperation and understanding! 🙏
The text was updated successfully, but these errors were encountered: