diff --git a/charts/openfga/templates/ingress.yaml b/charts/openfga/templates/ingress.yaml index 3bf6e64..2dbcd6e 100644 --- a/charts/openfga/templates/ingress.yaml +++ b/charts/openfga/templates/ingress.yaml @@ -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 }} diff --git a/charts/openfga/values.yaml b/charts/openfga/values.yaml index 1318c45..d3a1681 100644 --- a/charts/openfga/values.yaml +++ b/charts/openfga/values.yaml @@ -218,6 +218,7 @@ ingress: paths: - path: / pathType: ImplementationSpecific + # servicePort: 8080 tls: [] # - secretName: chart-example-tls # hosts: