-
Notifications
You must be signed in to change notification settings - Fork 116
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 #1418
Comments
just fyi: https://github.com/brancz/kube-rbac-proxy with this one splunk-operator still works. |
It still works because the image is deprecated and has not got away YET (gcr.io/kubebuilder/kube-rbac-proxy) The issue was raised for you to be aware of, so change your solution and ensure that users do not use versions of it. Rely on this image before the problem is faced. If you do not make the required changes, you will see that your Operator will not work in ANY scenario where is required to fetch the image ( i.e. when it is not present in the node cache, new nodes, new deployments ) |
@camilamacedo86 please, don't mess official image with custom one. i understand your ticket, it is absolutely valid. |
Just to clarify The image ^ You indeed used
For your helm charts. That means it will either break the working workload. |
we are not using kubebuilder for several month already, we replaced it https://quay.io/repository/brancz/kube-rbac-proxy |
I can see the image in the code base: See; https://github.com/search?q=repo%3Asplunk%2Fsplunk-operator+gcr.io%2Fkubebuilder%2Fkube-rbac-proxy&type=code Either the path is enabled: https://github.com/splunk/splunk-operator/blob/main/config/default/kustomization.yaml#L29-L34 However, it is fine if you are confident that you will not be impacted by it and does not seem the reason for take any action, please feel free to close. |
Hello @camilamacedo86, thank you for raising this issue. we have plan to remove kube-rbac-proxy in |
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: