Skip to content

Commit

Permalink
chore(helm): update OpenFGA config (#397)
Browse files Browse the repository at this point in the history
Because

- the pipeline-backend will connect to OpenFGA 

This commit

- update OpenFGA config
  • Loading branch information
donch1989 authored Dec 6, 2023
1 parent 7f24ba4 commit fb15ee3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/vdp/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}
Expand Down
3 changes: 3 additions & 0 deletions charts/vdp/templates/pipeline-backend/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,6 @@ data:
otelcollector:
host: {{ template "core.otel" . }}
port: {{ template "core.otel.port" . }}
openfga:
host: {{ template "core.openfga" . }}
port: 8080

0 comments on commit fb15ee3

Please sign in to comment.