Skip to content

add --copy-annotations flag similar to --copy-labels #113

@joemiller

Description

@joemiller

Is your feature request related to a problem? Please describe.
Hi, I'm back again. I would like to be able to copy annotations from the PVC onto the cloud disks much in the same way that the --copy-labels flag works. We have been making extensive use of the copy-labels feature to propagate labels to the cloud resources for things like cost attribution. We've recently started adding annotations instead of labels to reduce overhead on the k8s-apiserver's etcd's when we have a piece of data that we know will never be used for selecting resources and thus an annotation is better suited than a label.

Describe the solution you'd like
--copy-annotations [spec] would be similar to --copy-labels. A CSV-style list of annotations that if present on the PVC will be propagated to the cloud as AWS tags or GCP labels.

More than willing to put this PR together if it sounds acceptable! ty

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions