Skip to content

Commit

Permalink
Fix ingress | generic 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dbpolito committed Oct 2, 2022
1 parent f014bcc commit 1c9cd2e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/generic/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: generic
description: Generic Chart
version: 1.5.1
version: 1.5.2
15 changes: 9 additions & 6 deletions charts/generic/templates/ingresses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,16 @@ spec:
paths:
{{- range .paths }}
- path: {{ .path | default "/" }}
pathType: {{ .pathType | default "Prefix" }}
backend:
{{- if .fullServiceName }}
serviceName: {{ .fullServiceName }}
{{- else }}
serviceName: "{{ $fullName }}-{{ .serviceName | default "default" }}"
{{- end }}
servicePort: {{ .servicePort }}
service:
{{- if .fullServiceName }}
name: {{ .fullServiceName }}
{{- else }}
name: "{{ $fullName }}-{{ .serviceName | default "default" }}"
{{- end }}
port:
number: {{ .servicePort }}
{{- end }}
{{- end }}
---
Expand Down

0 comments on commit 1c9cd2e

Please sign in to comment.