mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-20 06:54:32 +00:00
Fix the velero crd define locations. (#6554)
Signed-off-by: yanggang <gang.yang@daocloud.io>
This commit is contained in:
@@ -503,7 +503,7 @@ func (s *server) veleroResourcesExist() error {
|
||||
}
|
||||
|
||||
if len(errs) > 0 {
|
||||
errs = append(errs, errors.New("Velero custom resources not found - apply examples/common/00-prereqs.yaml to update the custom resource definitions"))
|
||||
errs = append(errs, errors.New("Velero custom resources not found - apply config/crd/v1/bases/*.yaml,config/crd/v2alpha1/bases*.yaml, to update the custom resource definitions"))
|
||||
return kubeerrs.NewAggregate(errs)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user