-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[kube-state-metrics] Fix probes when kubeRBACProxy is enabled #5858
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
[kube-state-metrics] Fix probes when kubeRBACProxy is enabled #5858
Conversation
This change add .Values.kubeRBACProxy.ignoreProbePaths to allow the kube-state-metrics readinessProbe and livenessProbe work properly when kubeRBACProxy is enabled Signed-off-by: Hendrik Ferber <[email protected]>
Signed-off-by: Hendrik Ferber <[email protected]>
3b87cb1 to
a63c75d
Compare
|
@dotdc Better late then never 😃 Can you have a look please? |
|
@dotdc @mrueg @tariq1890 |
|
bump any news here? |
|
With v2.16.0, I introduced an auth-filter https://github.com/kubernetes/kube-state-metrics/tree/f421b9a69a08f3009b959c81f08749176996998a/docs#protecting-metrics-endpoints Could we look into obsoleting the use of kube-rbac-proxy by using this auth-filter option? That would simplify the chart. |
|
can we merge this and simplify the chart in another PR? |
|
@mrueg |
Signed-off-by: David Calvert <[email protected]>
dotdc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bugfix.
I think we should merge it now and look at the auth-filter later.
@mrueg Are you okay with that?
|
I'm fine with that, I just don't use kube-rbac-proxy, so I won't be able to test this change. |
Same for me. |
|
Thanks a lot guys ❤️ |
…heus-community#5858) Signed-off-by: Hendrik Ferber <[email protected]> Signed-off-by: David Calvert <[email protected]> Co-authored-by: Hendrik Ferber <[email protected]> Co-authored-by: David Calvert <[email protected]>
What this PR does / why we need it
Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close that issue when PR gets merged)This change add .Values.kubeRBACProxy.ignoreProbePaths to allow the kube-state-metrics readinessProbe and livenessProbe work properly when kubeRBACProxy is enabled
Special notes for your reviewer
Checklist
[prometheus-couchdb-exporter])