Skip to content

Commit

Permalink
platform-api: composer allows superuser
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxpiper committed Sep 14, 2024
1 parent 23074ef commit c8df8dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/platform-api/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
name: ushahidi-platform-api
version: 0.0.1-alpha.30
version: 0.0.1-alpha.31
icon: https://github.ushahidi.org/helm-charts/icon.png
9 changes: 9 additions & 0 deletions charts/platform-api/templates/api-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ spec:
- name: USH_ANALYTICS_PREFIX
value: {{ .Values.config.ush_analytics_prefix | quote }}
{{- end }}
{{- /* This is a temporary fix while the container is running as root */}}
- name: COMPOSER_ALLOW_SUPERUSER
value: "1"
{{- if .Values.config.multisite.enabled }}
- name: MULTISITE_DOMAIN
value: {{ .Values.config.multisite.api_domain | quote }}
Expand Down Expand Up @@ -546,6 +549,9 @@ spec:
- name: USH_ANALYTICS_PREFIX
value: {{ .Values.config.ush_analytics_prefix | quote }}
{{- end }}
{{- /* This is a temporary fix while the container is running as root */}}
- name: COMPOSER_ALLOW_SUPERUSER
value: "1"
{{- if .Values.config.multisite.enabled }}
- name: MULTISITE_DOMAIN
value: {{ .Values.config.multisite.api_domain | quote }}
Expand Down Expand Up @@ -812,6 +818,9 @@ spec:
- name: USH_ANALYTICS_PREFIX
value: {{ .Values.config.ush_analytics_prefix | quote }}
{{- end }}
{{- /* This is a temporary fix while the container is running as root */}}
- name: COMPOSER_ALLOW_SUPERUSER
value: "1"

image: {{ .Values.image.repository }}/{{ .Values.image.name }}:{{ .Values.image.tag }}
imagePullPolicy: Always
Expand Down

0 comments on commit c8df8dd

Please sign in to comment.