Skip to content

standarize snapshot functions#394

Draft
boddumanohar wants to merge 1 commit intomainfrom
storage-api-backups-common
Draft

standarize snapshot functions#394
boddumanohar wants to merge 1 commit intomainfrom
storage-api-backups-common

Conversation

@boddumanohar
Copy link
Member

@boddumanohar boddumanohar commented Dec 4, 2025

rename AUTOSCALER_PVC_SUFFIX to AUTOSCALER_DB_PVC_SUFFIX

Introduce to SnapshotMetadata to hold metadata for snapshot in Kubernetes

class SnapshotMetadata(BaseModel):
    name: str = Field(..., min_length=1)
    namespace: str = Field(..., min_length=1)
    # content_name stays optional because there are runtime scenarios where the
    # VolumeSnapshotContent hasn’t been bound yet
    content_name: str | None

TODO: Write about how this is going to be useful when we add feature for storage API snapshots

@boddumanohar boddumanohar force-pushed the storage-api-backups-common branch 2 times, most recently from f26dff6 to c08e968 Compare December 4, 2025 08:51
@boddumanohar boddumanohar force-pushed the storage-api-backups-common branch from c08e968 to b395962 Compare January 28, 2026 12:24
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.

1 participant