-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚠️ Action Required: Replace Deprecated gcr.io/kubebuilder/kube-rbac-proxy #383
Comments
Hi @camilamacedo86! I think we've addressed this issue in #257 already and this can be closed. |
Hi @aleskandro Thank you for checking it. That is great, seems that you are already using the feature provided by controller-runtime in: multiarch-tuning-operator/main.go Lines 138 to 142 in be80129
However, I still able to check the usage of the image in https://github.com/openshift/multiarch-tuning-operator/blob/main/config/default/manager_auth_proxy_patch.yaml That is why the project was returned in the scripts to find projects that need to move forward. I would like to suggest you 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. You can either re-scaffold a project with the latest version of the tool and compare it with your project using IDE to ensure that you have all changes in place. Thank you very much for your attention on this matter. |
You're right, we kept that patch file but is not used in the kustomization. We can better check and remove any other references. Thanks! |
Hi @aleskandro So, you can close this one by removing the file that is no longer used. For a follow-up, I think you should consider passing the certs for the server so that you can improve its security. The above PR is for we introduce a feature to help kubebuilder users. I hope that helps. |
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 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! 🙏
The text was updated successfully, but these errors were encountered: