mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Fix examples of rules with wildcard
This commit is contained in:
parent
ba8410ea5f
commit
8ddd030cd9
@ -46,9 +46,9 @@ func validateResources(resources []string, fldPath *field.Path) field.ErrorList
|
|||||||
allErrors = append(allErrors, field.Required(fldPath, ""))
|
allErrors = append(allErrors, field.Required(fldPath, ""))
|
||||||
}
|
}
|
||||||
|
|
||||||
// */x
|
|
||||||
resourcesWithWildcardSubresoures := sets.String{}
|
|
||||||
// x/*
|
// x/*
|
||||||
|
resourcesWithWildcardSubresoures := sets.String{}
|
||||||
|
// */x
|
||||||
subResourcesWithWildcardResource := sets.String{}
|
subResourcesWithWildcardResource := sets.String{}
|
||||||
// */*
|
// */*
|
||||||
hasDoubleWildcard := false
|
hasDoubleWildcard := false
|
||||||
|
Loading…
Reference in New Issue
Block a user