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 }}