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

@ -2,6 +2,6 @@ apiVersion: v2
name: hasura
description: A Helm chart for Kubernetes
type: application
version: 0.2.5
version: 0.2.6
appVersion: v2.3.1
icon: https://raw.githubusercontent.com/hasura/graphql-engine/master/assets/brand/powered_by_hasura_primary_lightbg.svg

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: