Skip to content

Commit

Permalink
openfga: fix readiness probe
Browse files Browse the repository at this point in the history
  • Loading branch information
ElysaSrc committed Feb 25, 2025
1 parent ba1aab6 commit 5cbf51b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/openfga/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ spec:
command: ["/openfga"]
args: ["run"]
ports:
- containerPort: {{ .Values.services.openfga.service.targetPort }}
- name: openfga-port
containerPort: {{ .Values.services.openfga.service.targetPort }}
env:
- name: OPENFGA_DATASTORE_ENGINE
value: "postgres"
Expand All @@ -73,7 +74,7 @@ spec:
readinessProbe:
httpGet:
path: /healthz
port: http
port: openfga-port
{{- end }}

nodeSelector:
Expand Down

0 comments on commit 5cbf51b

Please sign in to comment.