From dd00baa7e08f64b72521822cced896b0e80f05da Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Wed, 23 Mar 2022 12:34:47 +0300 Subject: [PATCH] Set default pathType --- Chart.yaml | 2 +- templates/ingress.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index 6bacfc5..20e0f19 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -2,6 +2,6 @@ apiVersion: v2 name: hasura description: A Helm chart for Kubernetes type: application -version: 0.2.4 +version: 0.2.5 appVersion: v2.3.1 icon: https://raw.githubusercontent.com/hasura/graphql-engine/master/assets/brand/powered_by_hasura_primary_lightbg.svg diff --git a/templates/ingress.yaml b/templates/ingress.yaml index 5f080ff..955b7dd 100644 --- a/templates/ingress.yaml +++ b/templates/ingress.yaml @@ -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 }}