Skip to content

feat(deployment): adds revisionHistoryLimit as a configurable parameter#925

Open
NPastorale wants to merge 1 commit into
cloudnative-pg:mainfrom
NPastorale:main
Open

feat(deployment): adds revisionHistoryLimit as a configurable parameter#925
NPastorale wants to merge 1 commit into
cloudnative-pg:mainfrom
NPastorale:main

Conversation

@NPastorale

Copy link
Copy Markdown

Summary

Adds revisionHistoryLimit as a configurable chart value for the CloudNativePG operator Deployment

Motivation

Some environments may prefer retaining fewer ReplicaSets to avoid unnecessary clutter, while others might require more. Exposing revisionHistoryLimit as a chart value provides additional flexibility without changing the current default behaviour.
This is a common parameter exposed by many charts and as such, users may expect it to be configurable (me included).
Given the infinitesimality and low risk of the change, I've taken the liberty of not opening an issue beforehand. Do let me know whether you'd like me to open one regardless.

Backwards compatibility

  • No breaking changes
  • Default value remains 10, matching the Kubernetes default

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 21, 2026
@NPastorale NPastorale marked this pull request as draft June 22, 2026 09:22
Signed-off-by: NPastorale <npastorale@gmail.com>
@NPastorale NPastorale marked this pull request as ready for review June 22, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant