Use admissionregistration.k8s.io/v1beta1 to be k8s < 1.16 compatible

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-06-24 10:01:02 -04:00
parent a1b88e3bd3
commit a57d912ea4
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
apiVersion: v1
name: ingress-nginx
version: 2.7.1
version: 2.8.0
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,7 @@
{{- if .Values.controller.admissionWebhooks.enabled -}}
apiVersion: admissionregistration.k8s.io/v1
# before changing this value, check the required kubernetes version
# https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#prerequisites
apiVersion: admissionregistration.k8s.io/v1beta1
kind: ValidatingWebhookConfiguration
metadata:
labels: