From c11992fd301e41ee901c313ef6270820c2d57582 Mon Sep 17 00:00:00 2001 From: "Kevin M. Gates" Date: Thu, 14 Oct 2021 09:23:48 -0500 Subject: [PATCH] Disabled Capabilities.KubeVersion.GitVersion check --- charts/msal-proxy/templates/ingress.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/msal-proxy/templates/ingress.yaml b/charts/msal-proxy/templates/ingress.yaml index 84931db..4c36d26 100644 --- a/charts/msal-proxy/templates/ingress.yaml +++ b/charts/msal-proxy/templates/ingress.yaml @@ -1,11 +1,11 @@ {{- if .Values.ingress.enabled -}} {{- $fullName := include "msal-proxy.fullname" . -}} {{- $svcPort := .Values.service.port -}} -{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} -apiVersion: networking.k8s.io/v1beta1 -{{- else -}} +#{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} +#apiVersion: networking.k8s.io/v1beta1 +#{{- else -}} apiVersion: extensions/v1beta1 -{{- end }} +#{{- end }} kind: Ingress metadata: name: {{ $fullName }}