opentelemetry-operator icon indicating copy to clipboard operation
opentelemetry-operator copied to clipboard

Add support for persistentVolumeClaimRetentionPolicy field

Open davidhaja opened this issue 4 months ago • 0 comments

Description: <Describe what has changed.> Add support for persistentVolumeClaimRetentionPolicy field in opentelemetrycollector CR. The persistentVolumeClaimRetentionPolicy works only in statefulset mode. persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates.

Link to tracking Issue(s): <Issue number if applicable> 3305

  • Resolves: #3305

Testing: <Describe what testing was performed and which tests were added.> tests/e2e/statefulset-features e2e test updated with the new field. Unit tests created for the conversion between api versions, statefulset mode check and for the correct propagation of the persistentVolumeClaimRetentionPolicy field.

Documentation: <Describe the documentation added.> docs/api.md updated with the new field.

davidhaja avatar Oct 14 '24 07:10 davidhaja