Skip to content

Commit

Permalink
fix: set replica to 1 when using memory datastore
Browse files Browse the repository at this point in the history
  • Loading branch information
jpadilla committed Mar 8, 2024
1 parent 7f6c0c7 commit c383c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/openfga/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
{{- end }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
replicas: {{ ternary 1 .Values.replicaCount (eq .Values.datastore.engine "memory")}}
{{- end }}
selector:
matchLabels:
Expand Down

0 comments on commit c383c77

Please sign in to comment.