Skip to content

feat(cloudnative-pg): allow setting scratch-data emptyDir options - #980

Open
dmaes wants to merge 1 commit into
cloudnative-pg:mainfrom
dmaes:979-cloudnative-pg-emptydir-sizelimit
Open

feat(cloudnative-pg): allow setting scratch-data emptyDir options#980
dmaes wants to merge 1 commit into
cloudnative-pg:mainfrom
dmaes:979-cloudnative-pg-emptydir-sizelimit

Conversation

@dmaes

@dmaes dmaes commented Aug 4, 2026

Copy link
Copy Markdown

This change allows configuring options (e.g. setting a sizeLimit) on the scratch-data emptyDir volume via the .scratchData.emptyDir value.

Default value for .scratchData.emptyDir is {}, retaining the same behavior as before this change.

closes #979

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. chart( operator ) Related to the operator (cloudnative-pg) chart labels Aug 4, 2026
@dmaes
dmaes force-pushed the 979-cloudnative-pg-emptydir-sizelimit branch from d72f605 to f5f1eb0 Compare August 4, 2026 12:36
@mnencia
mnencia force-pushed the 979-cloudnative-pg-emptydir-sizelimit branch from f5f1eb0 to 278e606 Compare August 28, 2026 12:21
@mnencia
mnencia requested a review from a team as a code owner August 28, 2026 12:21
@danishedb

Copy link
Copy Markdown
Contributor

Looks good to me. @dmaes Can you put some details in the PR description mentioning about the changes.

@hh24k

hh24k commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

LGTM

@dmaes

dmaes commented Sep 2, 2026

Copy link
Copy Markdown
Author

@danishedb updated description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chart( operator ) Related to the operator (cloudnative-pg) chart size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow setting sizeLimit for cloudnative-pg scratch-data emptyDir

3 participants