Skip to content

Commit

Permalink
Merge pull request #5752 from towolf/update-webhook-registration
Browse files Browse the repository at this point in the history
Update ValidatingWebhook for Ingress to support --dry-run=server
  • Loading branch information
k8s-ci-robot authored Jun 22, 2020
2 parents 1ba39f5 + be5c29d commit 7272a85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/ingress-nginx/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.controller.admissionWebhooks.enabled -}}
apiVersion: admissionregistration.k8s.io/v1beta1
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
labels:
Expand All @@ -20,6 +20,10 @@ webhooks:
resources:
- ingresses
failurePolicy: Fail
sideEffects: None
admissionReviewVersions:
- v1
- v1beta1
clientConfig:
service:
namespace: {{ .Release.Namespace }}
Expand Down

0 comments on commit 7272a85

Please sign in to comment.