Update ValidatingWebhook for Ingress to support --dry-run=server
This commit is contained in:
parent
152364ace3
commit
be5c29daef
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue