fix kubernetes ingress

This commit is contained in:
2025-01-14 20:34:48 +01:00
parent fb8376914c
commit 85e9713431
3 changed files with 9 additions and 11 deletions

View File

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