opentelemetry-operator
opentelemetry-operator copied to clipboard
Add support for persistentVolumeClaimRetentionPolicy field
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.