From 2e999ea7b5fa36ee5b37afeff7af969e70a86d53 Mon Sep 17 00:00:00 2001 From: Akmal baig <40709845+akmalbaig98@users.noreply.github.com> Date: Sat, 5 Mar 2022 16:44:04 +0530 Subject: [PATCH] Update apiVersion of ingress from networking.k8s.io/v1beta1 to networking.k8s.io/v1 --- templates/ingress.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/ingress.yaml b/templates/ingress.yaml index ea869e3..bd98555 100644 --- a/templates/ingress.yaml +++ b/templates/ingress.yaml @@ -2,9 +2,9 @@ {{- $fullName := include "plausible-analytics.fullname" . -}} {{- $svcPort := .Values.service.port -}} {{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 {{- else -}} -apiVersion: extensions/v1beta1 +apiVersion: extensions/v1 {{- end }} kind: Ingress metadata: