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-operator-admission-webhook] feat: allow changing the default revisionHistoryLimit #3678

Merged
merged 2 commits into from Aug 7, 2023
Merged

[prometheus-operator-admission-webhook] feat: allow changing the default revisionHistoryLimit #3678

merged 2 commits into from Aug 7, 2023

Conversation

tberreis
Copy link
Contributor

@tberreis tberreis commented Aug 6, 2023

What this PR does / why we need it

You may want to clean up old ReplicaSets so that these don't appear in metrics, OPA violations, ArgoCD UI and so on.
Therefore you want to overwrite the Kubernetes default revision history limit.

The Prometheus Operator Admission Webhook Depoyment has been adapted to allow the user changing the default revisionHistoryLimit.

Which issue this PR fixes

N/A

Special notes for your reviewer

N/A

Checklist

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

Signed-off-by: Thomas Berreis <thomas@berreis.de>
@tberreis tberreis requested a review from zeritti as a code owner August 6, 2023 14:21
Copy link
Member

@zeritti zeritti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @tberreis, for your PR.

@zeritti zeritti merged commit 1def049 into prometheus-community:main Aug 7, 2023
4 checks passed
@tberreis tberreis deleted the prometheus-operator-admission-webhook branch August 8, 2023 04:10
Matiasmct pushed a commit to giffgaff/prometheus-charts that referenced this pull request Aug 25, 2023
…munity#3678)

Signed-off-by: Thomas Berreis <thomas@berreis.de>
Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.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.

None yet

2 participants