Merge pull request #5752 from towolf/update-webhook-registration
Update ValidatingWebhook for Ingress to support --dry-run=server
This commit is contained in:
commit
7272a85a4c
2 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
name: ingress-nginx
|
name: ingress-nginx
|
||||||
version: 2.7.0
|
version: 2.7.1
|
||||||
appVersion: 0.33.0
|
appVersion: 0.33.0
|
||||||
home: https://github.com/kubernetes/ingress-nginx
|
home: https://github.com/kubernetes/ingress-nginx
|
||||||
description: Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer
|
description: Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if .Values.controller.admissionWebhooks.enabled -}}
|
{{- if .Values.controller.admissionWebhooks.enabled -}}
|
||||||
apiVersion: admissionregistration.k8s.io/v1beta1
|
apiVersion: admissionregistration.k8s.io/v1
|
||||||
kind: ValidatingWebhookConfiguration
|
kind: ValidatingWebhookConfiguration
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -20,6 +20,10 @@ webhooks:
|
||||||
resources:
|
resources:
|
||||||
- ingresses
|
- ingresses
|
||||||
failurePolicy: Fail
|
failurePolicy: Fail
|
||||||
|
sideEffects: None
|
||||||
|
admissionReviewVersions:
|
||||||
|
- v1
|
||||||
|
- v1beta1
|
||||||
clientConfig:
|
clientConfig:
|
||||||
service:
|
service:
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
|
|
Loading…
Reference in a new issue