-
Notifications
You must be signed in to change notification settings - Fork 27
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 #442
Comments
vprashar2929
added a commit
to vprashar2929/kepler-operator
that referenced
this issue
Jan 28, 2025
This commit migrates operator-sdk to v1.39.1. This was done in order to move away from kube-rbac-proxy. Addresses issue sustainable-computing-io#442 Signed-off-by: vprashar2929 <[email protected]>
vprashar2929
added a commit
to vprashar2929/kepler-operator
that referenced
this issue
Jan 29, 2025
This commit migrates operator-sdk to v1.39.1. This was done in order to move away from kube-rbac-proxy. Addresses issue sustainable-computing-io#442 Signed-off-by: vprashar2929 <[email protected]>
vprashar2929
added a commit
to vprashar2929/kepler-operator
that referenced
this issue
Jan 29, 2025
This commit migrates operator-sdk to v1.39.1. This was done in order to move away from kube-rbac-proxy. Addresses issue sustainable-computing-io#442 Signed-off-by: vprashar2929 <[email protected]>
vprashar2929
added a commit
to vprashar2929/kepler-operator
that referenced
this issue
Jan 29, 2025
This commit migrates operator-sdk to v1.39.1. This was done in order to move away from kube-rbac-proxy. Addresses issue sustainable-computing-io#442 Signed-off-by: vprashar2929 <[email protected]>
vprashar2929
added a commit
to vprashar2929/kepler-operator
that referenced
this issue
Jan 29, 2025
This commit migrates operator-sdk to v1.39.1. This was done in order to move away from kube-rbac-proxy. Addresses issue sustainable-computing-io#442 Signed-off-by: vprashar2929 <[email protected]>
vprashar2929
added a commit
to vprashar2929/kepler-operator
that referenced
this issue
Jan 29, 2025
This commit migrates operator-sdk to v1.39.1. This was done in order to move away from kube-rbac-proxy. Addresses issue sustainable-computing-io#442 Signed-off-by: vprashar2929 <[email protected]>
vprashar2929
added a commit
to vprashar2929/kepler-operator
that referenced
this issue
Jan 29, 2025
This commit migrates operator-sdk to v1.39.1. This was done in order to move away from kube-rbac-proxy. Addresses issue sustainable-computing-io#442 Signed-off-by: vprashar2929 <[email protected]>
vprashar2929
added a commit
to vprashar2929/kepler-operator
that referenced
this issue
Jan 29, 2025
This commit migrates operator-sdk to v1.39.1. This was done in order to move away from kube-rbac-proxy. Addresses issue sustainable-computing-io#442 Signed-off-by: vprashar2929 <[email protected]>
vprashar2929
added a commit
to vprashar2929/kepler-operator
that referenced
this issue
Feb 3, 2025
This commit migrates operator-sdk to v1.39.1. This was done in order to move away from kube-rbac-proxy. Addresses issue sustainable-computing-io#442 Signed-off-by: vprashar2929 <[email protected]>
vprashar2929
added a commit
to vprashar2929/kepler-operator
that referenced
this issue
Feb 3, 2025
This commit migrates operator-sdk to v1.39.1. This was done in order to move away from kube-rbac-proxy. Key changes: * Switch golang from `1.21` to `1.22` * Switch operator-sdk from `1.36.1` to `1.39.1` * Switch controller-gen from `0.13.0` to `0.16.1` * Added scaffolding for metrics which includes: * Scaffolding for network policies * Scaffolding for enabling TLS authentication for metrics in `main.go` (Useful at the time of enabling TLS support) * Scaffolding for metrics service * Scaffolding for neytwork policy for metrics service * Scaffolding for metrics auth role, role bindings * Updates the existing manifests to use the new metrics scaffolding * Removes the kube-rbac-proxy related manifests Addresses issue sustainable-computing-io#442 Signed-off-by: vprashar2929 <[email protected]>
vprashar2929
added a commit
to vprashar2929/kepler-operator
that referenced
this issue
Feb 3, 2025
This commit migrates operator-sdk to v1.39.1. This was done in order to move away from kube-rbac-proxy. Key changes: * Switch golang from `1.21` to `1.22` * Switch operator-sdk from `1.36.1` to `1.39.1` * Switch controller-gen from `0.13.0` to `0.16.1` * Added scaffolding for metrics which includes: * Scaffolding for network policies * Scaffolding for enabling TLS authentication for metrics in `main.go` (Useful at the time of enabling TLS support) * Scaffolding for metrics service * Scaffolding for network policy for metrics service * Scaffolding for metrics auth role, role bindings * Updates the existing manifests to use the new metrics scaffolding * Removes the kube-rbac-proxy related manifests Addresses issue sustainable-computing-io#442 Signed-off-by: vprashar2929 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: