:warning: Action Required: Replace Deprecated gcr.io/kubebuilder/kube-rbac-proxy
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- kubernetes
- Domain
- infrastructure
Research direction
Search the repository for gcr.io/kubebuilder/kube-rbac-proxy and determine whether the image is actively used or only present in an unused file. If it is used, read the linked FAQ and migration guide before identifying the affected configuration and validation steps; done means the deprecated image is no longer required, or the issue is closed if it is not used.
Written by the indexing model from the issue text.
Description
This issue was raised because we found the imagegcr.io/kubebuilder/kube-rbac-proxyin the files of this repository.
Description
⚠️ 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.
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:You can fully upgrade your project to use the latest scaffolding provided by the upstream versions of Operator-SDK or Kubebuilder tools or manually make the necessary changes. Refer to the FAQ and Discussion or migration guide for detailed instructions on how to manually update your project and test the changes.
-
Alternatively, replace the image with another trusted source at your own risk, as its usage has been discontinued in Kubebuilder.
💡 The section
How can I manually change my project to switch to Controller-Runtime's built-in auth protection?at FAQ provides guidance on how to manually update your projects and test it out.
For further information, suggestions, and guidance:
- 📖 FAQ and Discussion
- 💬 Join the Slack channel: #kubebuilder.
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! 🙏
- Dominant language
- Go
- Stars
- 228
- Forks
- 30
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from streamnative/function-mesh
-
streamnative/function-mesh#811 · 1 assignee ·
-
Difficulty 2/5 Half a day Newbie friendliness 45/100
streamnative/function-mesh#806 ·
-
streamnative/function-mesh#801 · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
streamnative/function-mesh#769 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
streamnative/function-mesh#753 ·
All issues in streamnative/function-mesh
Similar issues
-
Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenNSW/nsw-srilanka#497 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
milvus-io/birdwatcher#545 ·
-
kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/prow#953 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
caddyserver/caddy#8046 ·