Set default pathType

This commit is contained in:
2022-03-23 12:34:47 +03:00
parent 516b6ac0d3
commit dd00baa7e0
2 changed files with 2 additions and 2 deletions

View File

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