Skip to content

Auto-sync resource's statefulset volumeClaimTemplates annotation changes to existing PVC #1530

@Haleygo

Description

@Haleygo

After the PVC creation, the StatefulSet no longer controls the PVC, so changes to the StatefulSet’s volumeClaimTemplates are not synchronized with the PVC, see this issue.
So for CR like vmagent, vmcluster, changes to xxxStorage.volumeClaimTemplate.metadata.annotations aren’t synced to existing PVCs and require manual PVC edits. It would be nice if vm-operator could auto-sync such changes, just as it does for storage size.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions