Merge pull request #39305 from RichardoC/specify-subresources-excluded

Specify that subresources excluded from mutating webhook example
This commit is contained in:
Kubernetes Prow Robot 2023-02-06 14:58:59 -08:00 committed by GitHub
commit 5e2f1f28a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -591,7 +591,7 @@ is not considered to match.
Use the object selector only if the webhook is opt-in, because end users may skip
the admission webhook by setting the labels.
This example shows a mutating webhook that would match a `CREATE` of any resource with the label `foo: bar`:
This example shows a mutating webhook that would match a `CREATE` of any resource (but not subresources) with the label `foo: bar`:
```yaml
apiVersion: admissionregistration.k8s.io/v1