Merge pull request #5752 from towolf/update-webhook-registration

Update ValidatingWebhook for Ingress to support --dry-run=server
This commit is contained in:
Kubernetes Prow Robot 2020-06-22 16:53:40 -07:00 committed by GitHub
commit 7272a85a4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,6 @@
apiVersion: v1
name: ingress-nginx
version: 2.7.0
version: 2.7.1
appVersion: 0.33.0
home: https://github.com/kubernetes/ingress-nginx
description: Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer

View file

@ -1,5 +1,5 @@
{{- if .Values.controller.admissionWebhooks.enabled -}}
apiVersion: admissionregistration.k8s.io/v1beta1
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
labels:
@ -20,6 +20,10 @@ webhooks:
resources:
- ingresses
failurePolicy: Fail
sideEffects: None
admissionReviewVersions:
- v1
- v1beta1
clientConfig:
service:
namespace: {{ .Release.Namespace }}