Skip to content

Commit

Permalink
Issue #235
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleymccollam committed Dec 9, 2021
1 parent e6caa8c commit 630b133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/ping-devops/templates/pinglib/_ingress.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{- $fullName := include "pinglib.fullname" . -}}
{{- $defaultTlsSecret := $v.ingress.defaultTlsSecret -}}
{{- $defaultDomain := $v.ingress.defaultDomain -}}
{{- if semverCompare ">1.18" $top.Capabilities.KubeVersion.Version }}
{{- if semverCompare ">=1.18.x" $top.Capabilities.KubeVersion.Version }}
apiVersion: networking.k8s.io/v1
{{- else }}
apiVersion: networking.k8s.io/v1beta1
Expand Down Expand Up @@ -35,7 +35,7 @@ spec:
- path: {{ .path }}
pathType: {{ .pathType }}
backend:
{{- if semverCompare ">1.18" $top.Capabilities.KubeVersion.Version }}
{{- if semverCompare ">=1.18.x" $top.Capabilities.KubeVersion.Version }}
service:
name: {{ $fullName }}
port:
Expand Down

0 comments on commit 630b133

Please sign in to comment.