Skip to content

feat: allow configure persistentVolumeClaimRetentionPolicy#136

Merged
willholley merged 5 commits into
apache:mainfrom
ByJacob:main
May 7, 2024
Merged

feat: allow configure persistentVolumeClaimRetentionPolicy#136
willholley merged 5 commits into
apache:mainfrom
ByJacob:main

Conversation

@ByJacob
Copy link
Copy Markdown
Contributor

@ByJacob ByJacob commented Apr 12, 2024

What this PR does / why we need it:

Allow to specify a persistentVolumeClaimRetentionPolicy in both the primary and secondary StatefulSet.

Special notes for your reviewer:

This allows for automatic cleanup of PVCs after deletion, etc. An example use case of this is for highly dynamic test environments, where cleaning up the PVCs after deletion of the helm chart is preferred.

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.

  • Chart Version bumped
  • e2e tests pass
  • Variables are documented in the README.md

Copy link
Copy Markdown
Member

@willholley willholley left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Can you rebase on master? I'm happy to merge this (assuming tests pass), though it's probably worth adding a comment that this is a beta feature in Kubernetes so is generally unavailable. We may have to revisit this if/when this becomes GA.

@ByJacob
Copy link
Copy Markdown
Contributor Author

ByJacob commented May 7, 2024

Thanks for the PR! Can you rebase on master? I'm happy to merge this (assuming tests pass), though it's probably worth adding a comment that this is a beta feature in Kubernetes so is generally unavailable. We may have to revisit this if/when this becomes GA.

done

Copy link
Copy Markdown
Member

@willholley willholley left a comment

Choose a reason for hiding this comment

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

thanks @ByJacob - can you increment the chart version?

@ByJacob
Copy link
Copy Markdown
Contributor Author

ByJacob commented May 7, 2024

thanks @ByJacob - can you increment the chart version?

done :)

@willholley willholley merged commit c83baf8 into apache:main May 7, 2024
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.

2 participants