This commit adds the capability to specify allowed BD tags on SPC via
annotations.
The annotation key is cstor.openebs.io/allowed-bd-tags and the allowed value
is comma-separated strings.
For example "fast,slow" is a possible value, and in this case SPC provisioner
will reject BDs that have a BD tag (openebs.io/block-device-tag) present on
it and the value is other than fast or slow.
This commit adds the capability to specify allowed BD tags on SPC via annotations. The annotation key is
cstor.openebs.io/allowed-bd-tags
and the allowed value is comma-separated strings. For example "fast,slow" is a possible value, and in this case SPC provisioner will reject BDs that have a BD tag (openebs.io/block-device-tag
) present on it and the value is other than fast or slow.Signed-off-by: Ashutosh Kumar ashutosh.kumar@mayadata.io