Fix the velero crd define locations. (#6554)

Signed-off-by: yanggang <gang.yang@daocloud.io>
This commit is contained in:
Yang Gang
2023-07-31 15:58:07 +08:00
committed by GitHub
parent 3e631ca466
commit 16613f5fe1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
}