Merge pull request #107175 from roycaihw/doc/webhook-rule-validation

Fix examples of admission registration rules that contain wildcards
This commit is contained in:
Kubernetes Prow Robot
2022-02-09 15:35:44 -08:00
committed by GitHub

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