From 10dbfa9f2b74c70727e340d26341041ee32bfc9d Mon Sep 17 00:00:00 2001 From: Caleb Bron Date: Thu, 27 Feb 2020 17:09:08 -0700 Subject: [PATCH] Updates deploy webhook example to match docs The ValidatingWebhookConfiguration currently isnt targeting the service by its correct name as shown in docs --- deploy/validating-webhook.yaml.tpl | 2 +- docs/deploy/validating-webhook.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/validating-webhook.yaml.tpl b/deploy/validating-webhook.yaml.tpl index b7ee80ac5d..6fac2ede43 100644 --- a/deploy/validating-webhook.yaml.tpl +++ b/deploy/validating-webhook.yaml.tpl @@ -19,7 +19,7 @@ webhooks: clientConfig: service: namespace: ingress-nginx - name: nginx-ingress-webhook + name: ingress-validation-webhook path: /networking.k8s.io/v1beta1/ingresses caBundle: --- \ No newline at end of file diff --git a/docs/deploy/validating-webhook.md b/docs/deploy/validating-webhook.md index 81fd6392b2..aa706c3671 100644 --- a/docs/deploy/validating-webhook.md +++ b/docs/deploy/validating-webhook.md @@ -122,7 +122,7 @@ To check that your kube API server runs with the required flags, please refer to ### Additional kubernetes objects -Once both the ingress controller and the kube API server are configured to serve the webhook, add the you can configure the webhook with the following objects: +Once both the ingress controller and the kube API server are configured to serve the webhook, you can configure the webhook with the following objects: ```yaml apiVersion: v1