-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
Describe the solution you'd like
Currently
velero create backup mulit -l 'backup=foo' -l 'backup=bar'
or
velero create backup multi --include-resources 'secrets' --include-resources 'configmaps'
means, that the flag gets overwritten.
So only configmaps / things with the label backup=bar
will be backed up.
It would be great if i could specify multiple resource types or label combinations.
Anything else you would like to add:
I know that i can specify multiple labels in one string like -l 'backup=foo,shouldbackup=true'
but this is an AND not an OR
In my usecase its not possible to add one label to all the things i want to include into the backup.
Environment:
- Velero version (use
velero version
): v1.0.0 - Kubernetes version (use
kubectl version
):v1.14.2 - Kubernetes installer & version:v1.14.0
- Cloud provider or hardware configuration: hetzner (backup into aws s3)
- OS (e.g. from
/etc/os-release
): Client debian:stretch-slim (container) / Server Ubuntu:18.04
billimek, henkypunky, SahilChaudhary25, lukaszo, nirutgupta and 1 more