Fix examples of rules with wildcard

This commit is contained in:
Haowei Cai 2021-12-21 16:46:54 -08:00
parent ba8410ea5f
commit 8ddd030cd9

View File

@ -46,9 +46,9 @@ func validateResources(resources []string, fldPath *field.Path) field.ErrorList
allErrors = append(allErrors, field.Required(fldPath, ""))
}
// */x
resourcesWithWildcardSubresoures := sets.String{}
// x/*
resourcesWithWildcardSubresoures := sets.String{}
// */x
subResourcesWithWildcardResource := sets.String{}
// */*
hasDoubleWildcard := false