[b/r] Add backup/restore labels for PVCs, swift-conf Secret, and ring ConfigMap#463
[b/r] Add backup/restore labels for PVCs, swift-conf Secret, and ring ConfigMap#463stuggi wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
Conversation
… ConfigMap Add backup/restore labels to Swift resources so they are included in backup and can be restored in the correct order: - Object storage PVCs: labels on VolumeClaimTemplate (new envs) + reconcilePVCLabels for existing PVCs. Restore order 00. - swift-conf Secret: labels at creation via SecretTemplates + reconcileSwiftConfLabels for existing envs. Restore order 10. This Secret contains swift_hash_path_prefix/suffix which cannot be regenerated without losing access to existing objects. - Ring ConfigMap (swift-ring-files): reconcileRingConfigMapLabels after rebalance job completes. Restore order 10. Shared ensureBackupLabels helper in swift_common.go uses MergeFrom patch to avoid conflicts with concurrent updates. Jira: OSPRH-22912 Jira: OSPRH-22913 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stuggi The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@stuggi: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Add backup/restore labels to Swift resources so they are included in backup and can be restored in the correct order:
Shared ensureBackupLabels helper in swift_common.go uses MergeFrom patch to avoid conflicts with concurrent updates.
Jira: OSPRH-22912
Jira: OSPRH-22913
Depends-On: openstack-k8s-operators/lib-common#680