mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-19 14:34:17 +00:00
Limit label "velero.io/pvc-namespace-name" length to 63.
1. Limit label length. 2. Modify UT accordingly. 3. Remove unnecessary const variable. Signed-off-by: Xun Jiang <jxun@vmware.com>
This commit is contained in:
@@ -83,9 +83,6 @@ const (
|
||||
// The format is <namespace>/<name>.
|
||||
PVCNamespaceNameLabel = "velero.io/pvc-namespace-name"
|
||||
|
||||
// DynamicPVRestoreLabel is the label key for dynamic PV restore
|
||||
DynamicPVRestoreLabel = "velero.io/dynamic-pv-restore"
|
||||
|
||||
// ResourceUsageLabel is the label key to explain the Velero resource usage.
|
||||
ResourceUsageLabel = "velero.io/resource-usage"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user