Skip to content

Commit

Permalink
Add check to make sure task processor is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
gagantrivedi committed Jun 11, 2024
1 parent 39d1686 commit 7220da1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/flagsmith/templates/_api_environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
key: admin-token
{{- end }}
{{- else if .Values.UsePostgresForAnalytics.enabled }}
{{- if not .Values.taskProcessor.enabled }}
{{ fail "To use Postgre for analytics, the task processor must be enabled" }}
{{- end}}
- name: USE_POSTGRES_FOR_ANALYTICS
value: 'true'
{{- else }}
Expand Down

0 comments on commit 7220da1

Please sign in to comment.