Skip to content

Commit

Permalink
fix: Set ALLOW_ADMIN_INITIATION_VIA_CLI when bootstrap.enabled is…
Browse files Browse the repository at this point in the history
… `true` (#239)
  • Loading branch information
khvn26 authored Aug 23, 2024
1 parent 1a8fc91 commit 1d86894
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/flagsmith/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: flagsmith
description: Flagsmith
type: application
version: 0.55.0
version: 0.56.0
appVersion: 2.137.0
dependencies:
- name: postgresql
Expand Down
2 changes: 2 additions & 0 deletions charts/flagsmith/templates/deployment-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ spec:
command: ["/bin/sh", "-c"]
args: ["python manage.py waitfordb && python manage.py bootstrap"]
env: {{ include (print $.Template.BasePath "/_api_environment.yaml") . | nindent 8 }}
- name: ALLOW_ADMIN_INITIATION_VIA_CLI
value: 'true'
{{- if .Values.api.bootstrap.adminEmail }}
- name: ADMIN_EMAIL
value: {{ .Values.api.bootstrap.adminEmail }}
Expand Down

0 comments on commit 1d86894

Please sign in to comment.