Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Incorrect env indentation for bootstrap #254

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.51.0
version: 0.52.0
appVersion: 2.128.0
dependencies:
- name: postgresql
Expand Down
26 changes: 13 additions & 13 deletions charts/flagsmith/templates/deployment-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,18 @@ spec:
command: ["/bin/sh", "-c"]
args: ["python manage.py waitfordb && python manage.py bootstrap"]
env: {{ include (print $.Template.BasePath "/_api_environment.yaml") . | nindent 8 }}
{{- if .Values.api.bootstrap.adminEmail }}
- name: ADMIN_EMAIL
value: {{ .Values.api.bootstrap.adminEmail }}
{{- end }}
{{- if .Values.api.bootstrap.organisationName }}
- name: ORGANISATION_NAME
value: {{ .Values.api.bootstrap.organisationName }}
{{- end }}
{{- if .Values.api.bootstrap.projectName }}
- name: PROJECT_NAME
value: {{ .Values.api.bootstrap.projectName }}
{{- end }}
{{- if .Values.api.bootstrap.adminEmail }}
- name: ADMIN_EMAIL
value: {{ .Values.api.bootstrap.adminEmail }}
{{- end }}
{{- if .Values.api.bootstrap.organisationName }}
- name: ORGANISATION_NAME
value: {{ .Values.api.bootstrap.organisationName }}
{{- end }}
{{- if .Values.api.bootstrap.projectName }}
- name: PROJECT_NAME
value: {{ .Values.api.bootstrap.projectName }}
{{- end }}
{{- end }}
{{- if .Values.api.influxdbSetup.enabled }}
- name: influxdb-setup
Expand Down Expand Up @@ -161,4 +161,4 @@ spec:
{{- end }}
{{- with .Values.api.extraVolumes }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- end }}