Skip to content

Conversation

@HaveFun83
Copy link
Contributor

@HaveFun83 HaveFun83 commented Jul 3, 2025

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

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

Hendrik Ferber added 2 commits July 3, 2025 19:14
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]>
@HaveFun83 HaveFun83 force-pushed the fix-kube-rbac-proxy-probe branch from 3b87cb1 to a63c75d Compare July 3, 2025 17:14
@HaveFun83 HaveFun83 changed the title Fix kube rbac proxy probe [kube-state-metrics] Fix probes when kube rbac proxy enabled Jul 3, 2025
@HaveFun83 HaveFun83 changed the title [kube-state-metrics] Fix probes when kube rbac proxy enabled [kube-state-metrics] Fix probes when kubeRBACProxy enabled Jul 3, 2025
@HaveFun83 HaveFun83 changed the title [kube-state-metrics] Fix probes when kubeRBACProxy enabled [kube-state-metrics] Fix probes when kubeRBACProxy is enabled Jul 3, 2025
@HaveFun83
Copy link
Contributor Author

HaveFun83 commented Jul 3, 2025

@dotdc Better late then never 😃

Can you have a look please?

@HaveFun83
Copy link
Contributor Author

@dotdc @mrueg @tariq1890
can someone have a look please?

@HaveFun83
Copy link
Contributor Author

bump any news here?

@mrueg
Copy link
Member

mrueg commented Jul 23, 2025

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.

@HaveFun83
Copy link
Contributor Author

can we merge this and simplify the chart in another PR?

@HaveFun83
Copy link
Contributor Author

@mrueg
any suggestions?

Copy link
Member

@dotdc dotdc left a 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?

@mrueg
Copy link
Member

mrueg commented Aug 7, 2025

I'm fine with that, I just don't use kube-rbac-proxy, so I won't be able to test this change.

@dotdc
Copy link
Member

dotdc commented Aug 8, 2025

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.

@dotdc dotdc merged commit c3ab4c9 into prometheus-community:main Aug 8, 2025
6 checks passed
@HaveFun83
Copy link
Contributor Author

Thanks a lot guys ❤️

KyriosGN0 pushed a commit to KyriosGN0/prom-helm-charts that referenced this pull request Aug 20, 2025
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants