Open camilamacedo86 opened 3 days ago
@tchughesiv are you familiar with this discussion? I imagine that this configuration came from the operator-sdk defaults, right?
Hi @dmartinol,
Previously, this was included in the default scaffold.
You can re-generate the project using the latest tool release and layer your code on top. This way, you'll get all the new features, bug fixes, and improvements. Alternatively, you can manually make the necessary changes.
The steps for upgrading can be found here: SDK Upgrade Guide v1.38.0
Also, you can check out the FAQ section: "How can I manually change my project to switch to Controller-Runtime's built-in auth protection?" for detailed instructions
Feel free to let me know if you need any more help!
@camilamacedo86 we'll take care of it
Description
:warning: The image
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 uses
gcr.io/kubebuilder/kube-rbac-proxy
, it will be affected. Your project may fail to work if the image cannot be pulled. You must take action as soon as possible.However, if your project is no longer using this image, no action 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:WithAuthenticationAndAuthorization
:For further information, suggestions, and guidance:
We sincerely apologize for any inconvenience this may cause.
Thank you for your cooperation and understanding! :pray: