Skip to content

Commit

Permalink
Merge pull request #25 from garethjevans/kind-version
Browse files Browse the repository at this point in the history
chore: bump kind to 1.19.1
  • Loading branch information
garethjevans authored Feb 26, 2021
2 parents 7268161 + 402ed66 commit 906718e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ jobs:
- name: Create kind cluster
uses: helm/kind-action@v1.0.0
if: steps.list-changed.outputs.changed == 'true'
with:
node_image: kindest/node:v1.19.1

- name: Run chart-testing (install)
run: ct install --config ct.yaml
Expand Down
8 changes: 5 additions & 3 deletions charts/captain-hook/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,18 @@ spec:
paths:
{{- range .paths }}
- path: {{ .path }}
{{- if semverCompare ">=1.19-0" $kubeTargetVersion }}
backend:
{{- if semverCompare ">=1.19-0" $kubeTargetVersion }}
service:
name: {{ $fullName }}
port:
number: {{ $svcPort }}
{{- else }}
pathType: ImplementationSpecific
{{- else }}
backend:
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 906718e

Please sign in to comment.