Skip to content

Commit

Permalink
feat: allow different ports for paths in ingress (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
marlenekoh authored Nov 3, 2023
1 parent 331d1a5 commit 2052e3e
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 2052e3e

Please sign in to comment.