diff --git a/pkg/validation/internal/operatorhub.go b/pkg/validation/internal/operatorhub.go index f5da37a27..d26654831 100644 --- a/pkg/validation/internal/operatorhub.go +++ b/pkg/validation/internal/operatorhub.go @@ -354,7 +354,7 @@ func checkSpecMaintainers(checks CSVChecks) CSVChecks { // checkSpecProviderName will validate the values informed via csv.Spec.Provider.Name func checkSpecProviderName(checks CSVChecks) CSVChecks { - if checks.csv.Spec.Provider.Name == "" { + if strings.TrimSpace(checks.csv.Spec.Provider.Name) == "" { checks.errs = append(checks.errs, fmt.Errorf("csv.Spec.Provider.Name not specified")) } return checks