diff --git a/charts/openfga/templates/service.yaml b/charts/openfga/templates/service.yaml index b2164a5..1093488 100644 --- a/charts/openfga/templates/service.yaml +++ b/charts/openfga/templates/service.yaml @@ -10,6 +10,9 @@ metadata: {{- end }} spec: type: {{ .Values.service.type }} + {{- if .Values.service.clusterIP }} + clusterIP: {{ .Values.service.clusterIP }} + {{- end }} ports: - name: grpc port: {{ (split ":" .Values.grpc.addr)._1 }} @@ -17,7 +20,7 @@ spec: protocol: TCP {{- if .Values.http.enabled }} - - name: http + - name: http port: {{ (split ":" .Values.http.addr)._1 }} targetPort: http protocol: TCP