From 2b57cfc3d0bd0ea7b2ea3109dbda164b7ab89ff4 Mon Sep 17 00:00:00 2001 From: Jakob Herpel Date: Fri, 10 Oct 2025 10:10:34 +0200 Subject: [PATCH 1/2] feat: add option to specify the clusterIP of OpenFGA service --- charts/openfga/templates/service.yaml | 5 ++++- charts/openfga/values.yaml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/openfga/templates/service.yaml b/charts/openfga/templates/service.yaml index b2164a52..10934886 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 diff --git a/charts/openfga/values.yaml b/charts/openfga/values.yaml index c225fbbb..077e7723 100644 --- a/charts/openfga/values.yaml +++ b/charts/openfga/values.yaml @@ -116,6 +116,7 @@ customStartupProbe: {} service: annotations: {} type: ClusterIP + clusterIP: None port: 8080 telemetry: From 782ca955eb251b0a14d2b7873dc0e59528b5545e Mon Sep 17 00:00:00 2001 From: Jakob Herpel Date: Fri, 10 Oct 2025 10:50:07 +0200 Subject: [PATCH 2/2] fix: do not set clusterIP by default --- charts/openfga/values.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/charts/openfga/values.yaml b/charts/openfga/values.yaml index 077e7723..c225fbbb 100644 --- a/charts/openfga/values.yaml +++ b/charts/openfga/values.yaml @@ -116,7 +116,6 @@ customStartupProbe: {} service: annotations: {} type: ClusterIP - clusterIP: None port: 8080 telemetry: