Reverted changes to version check
This commit is contained in:
Родитель
c11992fd30
Коммит
2fe0e86263
|
@ -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 }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче