From aa4f30e932f759df28a650b90b11abc9eb4e3e5b Mon Sep 17 00:00:00 2001 From: Fabio Date: Tue, 14 Feb 2023 10:03:38 -0300 Subject: [PATCH] Disable crond inside audienciasweb --- .../v0.4.0/templates/audienciasweb-deployment.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/charts/edemocracia/v0.4.0/templates/audienciasweb-deployment.yaml b/charts/edemocracia/v0.4.0/templates/audienciasweb-deployment.yaml index 7d0f440..773655c 100755 --- a/charts/edemocracia/v0.4.0/templates/audienciasweb-deployment.yaml +++ b/charts/edemocracia/v0.4.0/templates/audienciasweb-deployment.yaml @@ -30,8 +30,11 @@ spec: - name: {{ include "edemocracia.fullname" . }}-audienciasweb image: "{{ .Values.audiencias.image.repository }}:{{ .Values.audiencias.image.tag }}" imagePullPolicy: {{ .Values.audiencias.image.pullPolicy }} - args: - - ./start-web.sh + command: [ "/bin/sh", "-c" ] + args: + - >- + sed -i "s/crond//g" ./start-web.sh && + ./start-web.sh env: - name: ADMIN_EMAIL value: {{ .Values.edemocracia.admin.email | quote }}