Skip to content

Commit 68b19b6

Browse files
committed
Specify that subresources excluded from mutating webhook example
1 parent a9d7e2b commit 68b19b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ is not considered to match.
591591
Use the object selector only if the webhook is opt-in, because end users may skip
592592
the admission webhook by setting the labels.
593593

594-
This example shows a mutating webhook that would match a `CREATE` of any resource with the label `foo: bar`:
594+
This example shows a mutating webhook that would match a `CREATE` of any resource (but not subresources) with the label `foo: bar`:
595595

596596
```yaml
597597
apiVersion: admissionregistration.k8s.io/v1

0 commit comments

Comments
 (0)