Skip to content

Commit 8756c9d

Browse files
authored
Merge pull request kubernetes#80842 from chendave/guide
doc: fix couple of issues for the doc of agnhost
2 parents 1f3dcb3 + aba7e75 commit 8756c9d

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

test/images/agnhost/README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -496,20 +496,18 @@ Usage:
496496
kubectl exec test-agnhost -- /agnhost serve-hostname [--tcp] [--udp] [--http] [--close] [--port <port>]
497497
```
498498

499-
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/contrib/for-demos/serve_hostname/README.md
500-
?pixel)]()
499+
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/contrib/for-demos/serve_hostname/README.md?pixel)]()
501500

502-
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/test/images/serve_hostname/README.md?pixel
503-
)]()
501+
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/test/images/serve_hostname/README.md?pixel)]()
504502

505503

506504
### webhook (Kubernetes External Admission Webhook)
507505

508506
The subcommand tests MutatingAdmissionWebhook and ValidatingAdmissionWebhook. After deploying
509-
it to kubernetes cluster, administrator needs to create a ValidatingWebhookConfiguration
510-
in kubernetes cluster to register remote webhook admission controllers.
507+
it to kubernetes cluster, administrator needs to create a MutatingWebhookConfiguration or
508+
ValidatingWebhookConfiguration in kubernetes cluster to register remote webhook admission controllers.
511509

512-
TODO: add the reference when the document for admission webhook v1beta1 API is done.
510+
More details on the configuration can be found from here [Dynamic Admission Control](https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/).
513511

514512
Check the [MutatingAdmissionWebhook](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.14/#mutatingwebhookconfiguration-v1beta1-admissionregistration-k8s-io) and [ValidatingAdmissionWebhook](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.14/#validatingwebhookconfiguration-v1beta1-admissionregistration-k8s-io) documentations for more information about them.
515513

0 commit comments

Comments
 (0)