From f6ba65d2b37119f0156f58aa6a90c50c126ccda0 Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Tue, 9 Feb 2021 09:42:59 -0800 Subject: [PATCH] fix(docs): fix webhook installation url (#1053) Signed-off-by: Derek Wang --- docs/validating-admission-webhook.md | 8 ++++---- mkdocs.yml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/validating-admission-webhook.md b/docs/validating-admission-webhook.md index bb3b9abd97..a11682b83d 100644 --- a/docs/validating-admission-webhook.md +++ b/docs/validating-admission-webhook.md @@ -8,16 +8,16 @@ Starting from v1.3, a [Validating Admission Webhook](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#validatingadmissionwebhook) -is introduced to the project. To install Argo Events with the validating -webhook, use following command (update the version): +is introduced to the project. To install the validating webhook, use following +command (change the version): ```shell -kubectl apply -n argo-events -f https://raw.githubusercontent.com/argoproj/argo-events/{version}/manifests/install-with-extension.yaml +kubectl apply -n argo-events -f https://raw.githubusercontent.com/argoproj/argo-events/{version}/manifests/install-validating-webhook.yaml ``` ## Benefits -Using the validation webhook has following benefits: +Using the validating webhook has following benefits: 1. It notifies the error at the time applying the faulty spec, so that you don't need to check the CRD object `status` field to see if there's any condition diff --git a/mkdocs.yml b/mkdocs.yml index e0d9ae1d5c..f3bb9c1c73 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -78,6 +78,7 @@ nav: - 'webhook-health-check.md' - 'trigger-conditions.md' - 'service-accounts.md' + - 'validating-admission-webhook.md' - 'developer_guide.md' - 'FAQ.md' - Releases ⧉: https://github.com/argoproj/argo-events/releases