Skip to content
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

[prometheus] Add permission on endpointslices in cluster role #3840

Merged

Conversation

zeritti
Copy link
Member

@zeritti zeritti commented Sep 29, 2023

What this PR does / why we need it

The cluster role for cluster-wide service discovery does not grant a permission on EndpointSlices (stable since 1.21, supported as a role type by Prometheus since 2.21). This PR adds that permission.

Which issue this PR fixes

Special notes for your reviewer

Checklist

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

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>
Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>
@zeritti zeritti marked this pull request as ready for review September 29, 2023 15:49
@zanhsieh zanhsieh merged commit 162e6be into prometheus-community:main Oct 2, 2023
4 checks passed
Matiasmct pushed a commit to giffgaff/prometheus-charts that referenced this pull request Mar 20, 2024
…heus-community#3840)

* Add permission on endpointslices in cluster role

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>

* Bump chart version

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>

---------

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>
Co-authored-by: MH <zanhsieh@gmail.com>
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.

[prometheus] kubernetes_sd_configs with Role: endpointslices fails
2 participants