Disabled Capabilities.KubeVersion.GitVersion check
This commit is contained in:
Родитель
ac68235520
Коммит
c11992fd30
|
@ -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 }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче