diff --git a/charts/platform-api/Chart.yaml b/charts/platform-api/Chart.yaml index b55e623..5fb4573 100644 --- a/charts/platform-api/Chart.yaml +++ b/charts/platform-api/Chart.yaml @@ -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 diff --git a/charts/platform-api/templates/api-worker.yml b/charts/platform-api/templates/api-worker.yml index b21b4ae..c8f833a 100644 --- a/charts/platform-api/templates/api-worker.yml +++ b/charts/platform-api/templates/api-worker.yml @@ -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 }} @@ -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 }} @@ -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