Skip to content

Determine VolumeSnapshotClass from annotation on StorageClass #1351

@SkalaNetworks

Description

@SkalaNetworks

Is your feature request related to a problem?/Why is this needed

More often than not, SCs and VSCs are mapped 1:1. Having an annotation on the StorageClasses that says which VSC should be used when snapshoting that volume could make automation easier.

Describe the solution you'd like in detail
When snapshoting a volume:

  • Lookup if there's a volumeSnapshotClass, if yes, use it
  • Lookup if there's an annotation on the storageclass of the PVC we're trying to snapshot
  • If not, use default volumeSnapshotClass
  • If yes, use that storageclass

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions