We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
KGO utilizes kube-rbac-proxy for metrics endpoint protection: https://github.com/Kong/gateway-operator/blob/83702a93c24a603bb7219bac09a581af037f8f62/config/default/manager_auth_proxy_patch.yaml
kube-rbac-proxy
Kubebuilder v4 removes support for that image. Images from gcr.io/kubebuilder/kube-rbac-proxy repo will be available until March 18, 2025.
gcr.io/kubebuilder/kube-rbac-proxy
In order to keep support for metrics endpoint protection we can
migrate to using https://quay.io/repository/brancz/kube-rbac-proxy which is not supported or endorsed by kubebuilder
drop protection from metrics endpoint
look into other solutions like introduced in kubebuilder 4.1.0
Re-introduces authn/authz protection for the metrics endpoint using WithAuthenticationAndAuthorization provided by controller-runtime. (✨ Add protection to metrics endpoint using authn/authz via controller-runtime feature kubernetes-sigs/kubebuilder#4003)
More information: kubernetes-sigs/kubebuilder#3907
The text was updated successfully, but these errors were encountered:
The data at which gcr.io/kubebuilder/kube-rbac-proxy will become unavailable is slowly approaching.
Let's discuss this on the next sync meeting.
An alternative to using a different image as proposed in the description is to use WithAuthenticationAndAuthorization from controller-runtime. Example of its usage: https://github.com/kubernetes-sigs/kubebuilder/blob/a9ee3909f7686902879bd666b92deec4718d92c9/testdata/project-v4/cmd/main.go#L118-L128
WithAuthenticationAndAuthorization
Sorry, something went wrong.
I want to pick up this one.
@tao12345666333 remember that this is done already in: Kong/kubernetes-ingress-controller#6815
tao12345666333
Successfully merging a pull request may close this issue.
Problem statement
KGO utilizes
kube-rbac-proxy
for metrics endpoint protection: https://github.com/Kong/gateway-operator/blob/83702a93c24a603bb7219bac09a581af037f8f62/config/default/manager_auth_proxy_patch.yamlKubebuilder v4 removes support for that image. Images from
gcr.io/kubebuilder/kube-rbac-proxy
repo will be available until March 18, 2025.Proposed solution
In order to keep support for metrics endpoint protection we can
migrate to using https://quay.io/repository/brancz/kube-rbac-proxy which is not supported or endorsed by kubebuilder
drop protection from metrics endpoint
look into other solutions like introduced in kubebuilder 4.1.0
Anything else ?
More information: kubernetes-sigs/kubebuilder#3907
Acceptance criteria
kube-rbac-proxy
The text was updated successfully, but these errors were encountered: