whg517 / helm-charts-install

0 stars 0 forks source link

:warning: Action Required: Replace Deprecated gcr.io/kubebuilder/kube-rbac-proxy #1

Open camilamacedo86 opened 2 days ago

camilamacedo86 commented 2 days ago

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.

Unfortunately, we're unable to provide any guarantees regarding timelines or potential extensions at this time. Images provided under GRC will be unavailable from March 18, 2025, as per announcement. However, gcr.io/kubebuilder/may be unavailable before this date due to efforts to deprecate infrastructure.

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:

For further information, suggestions, and guidance:

NOTE: This issue was opened automatically as part of our efforts to identify projects that might be affected and to raise awareness about this change within the community. If your project is no longer using this image, feel free to close this issue.

We sincerely apologize for any inconvenience this may cause.

Thank you for your cooperation and understanding! :pray:

whg517 commented 1 day ago

Thank you for your notice. I have understood the news now. I will later modify the related images referenced in the project and replace them. Thank you.

camilamacedo86 commented 1 day ago

Hi @whg517,

Thank you for letting me know that the message is clear now.

The best approach is to use the WithAuthenticationAndAuthorization feature provided by Controller-Runtime.

To do so, you can just download the latest release of the tool, regenerate the scaffold and add your code on top or manually change it. Please ensure that you check the FAQ section:

If you need any help, please let us know.