From faef5c263406c4925dd24c95dfae42c355c589e2 Mon Sep 17 00:00:00 2001 From: "Chang, Hui-Tang" Date: Wed, 6 Dec 2023 14:01:19 +0800 Subject: [PATCH] chore(helm): update OpenFGA config --- charts/vdp/templates/_helpers.tpl | 4 ++++ charts/vdp/templates/pipeline-backend/configmap.yaml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/charts/vdp/templates/_helpers.tpl b/charts/vdp/templates/_helpers.tpl index 7623c56a..a39e883c 100644 --- a/charts/vdp/templates/_helpers.tpl +++ b/charts/vdp/templates/_helpers.tpl @@ -104,6 +104,10 @@ app.kubernetes.io/name: {{ include "vdp.name" . }} {{- print "core-mgmt-backend" -}} {{- end -}} +{{- define "core.openfga" -}} + {{- printf "%s-openfga" (include "core.fullname" .) -}} +{{- end -}} + {{- define "vdp.pipelineBackend" -}} {{- printf "%s-pipeline-backend" (include "vdp.fullname" .) -}} {{- end -}} diff --git a/charts/vdp/templates/pipeline-backend/configmap.yaml b/charts/vdp/templates/pipeline-backend/configmap.yaml index 9e07738d..cccf6271 100644 --- a/charts/vdp/templates/pipeline-backend/configmap.yaml +++ b/charts/vdp/templates/pipeline-backend/configmap.yaml @@ -86,3 +86,6 @@ data: otelcollector: host: {{ template "core.otel" . }} port: {{ template "core.otel.port" . }} + openfga: + host: {{ template "core.openfga" . }} + port: 8080