Skip to content

Commit c8df8dd

Browse files
committed
platform-api: composer allows superuser
1 parent 23074ef commit c8df8dd

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

charts/platform-api/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v1
22
name: ushahidi-platform-api
3-
version: 0.0.1-alpha.30
3+
version: 0.0.1-alpha.31
44
icon: https://github.ushahidi.org/helm-charts/icon.png

charts/platform-api/templates/api-worker.yml

+9
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ spec:
254254
- name: USH_ANALYTICS_PREFIX
255255
value: {{ .Values.config.ush_analytics_prefix | quote }}
256256
{{- end }}
257+
{{- /* This is a temporary fix while the container is running as root */}}
258+
- name: COMPOSER_ALLOW_SUPERUSER
259+
value: "1"
257260
{{- if .Values.config.multisite.enabled }}
258261
- name: MULTISITE_DOMAIN
259262
value: {{ .Values.config.multisite.api_domain | quote }}
@@ -546,6 +549,9 @@ spec:
546549
- name: USH_ANALYTICS_PREFIX
547550
value: {{ .Values.config.ush_analytics_prefix | quote }}
548551
{{- end }}
552+
{{- /* This is a temporary fix while the container is running as root */}}
553+
- name: COMPOSER_ALLOW_SUPERUSER
554+
value: "1"
549555
{{- if .Values.config.multisite.enabled }}
550556
- name: MULTISITE_DOMAIN
551557
value: {{ .Values.config.multisite.api_domain | quote }}
@@ -812,6 +818,9 @@ spec:
812818
- name: USH_ANALYTICS_PREFIX
813819
value: {{ .Values.config.ush_analytics_prefix | quote }}
814820
{{- end }}
821+
{{- /* This is a temporary fix while the container is running as root */}}
822+
- name: COMPOSER_ALLOW_SUPERUSER
823+
value: "1"
815824

816825
image: {{ .Values.image.repository }}/{{ .Values.image.name }}:{{ .Values.image.tag }}
817826
imagePullPolicy: Always

0 commit comments

Comments
 (0)