Skip to content

Commit

Permalink
Fixed Helm install error
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Wiechmann committed Apr 7, 2022
1 parent 8618773 commit 355d548
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Security
- Updated dependencies to solve security issues

### Fixed
- The Helm template ingress definition to avoid error unknown field "servicePort" in io.k8s.api.networking.v1.IngressBackend

## [1.0.1] 2022-01-17

### Security
Expand Down
6 changes: 4 additions & 2 deletions helm/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ spec:
{{- range .paths }}
- path: {{ .path }}
backend:
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
service:
name: {{ $fullName }}
port:
number: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit 355d548

Please sign in to comment.