Remove if .pathType

This commit is contained in:
2022-03-24 13:42:28 +03:00
parent dd00baa7e0
commit 60c48b98c6
2 changed files with 1 additions and 3 deletions

View File

@ -43,9 +43,7 @@ spec:
paths:
{{- range .paths }}
- path: {{ .path }}
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ default "ImplementationSpecific" .pathType }}
{{- end }}
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service: