Skip to content

Commit

Permalink
feat: allow different ports for paths in ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
marlenekoh committed Oct 25, 2023
1 parent 4922d85 commit 1b8d21c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/openfga/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ spec:
service:
name: {{ $fullName }}
port:
number: {{ $svcPort }}
number: {{ .servicePort | default $svcPort }}
{{- else }}
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
servicePort: {{ .servicePort | default $svcPort }}
{{- end }}
{{- end }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/openfga/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ ingress:
paths:
- path: /
pathType: ImplementationSpecific
# servicePort: 8080
tls: []
# - secretName: chart-example-tls
# hosts:
Expand Down

0 comments on commit 1b8d21c

Please sign in to comment.