From 1a52acce676a065a9e54dde0b2cdd65b91c90450 Mon Sep 17 00:00:00 2001 From: VictorNguyen098 <72439709+VictorNguyen098@users.noreply.github.com> Date: Fri, 24 Nov 2023 18:21:04 +0100 Subject: [PATCH] Modify indent (#77) * retry mapp * change coquille --- charts/redcap/Chart.yaml | 2 +- charts/redcap/templates/cron.yaml | 7 +++---- charts/redcap/values.yaml | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/charts/redcap/Chart.yaml b/charts/redcap/Chart.yaml index f9211a2..097990a 100644 --- a/charts/redcap/Chart.yaml +++ b/charts/redcap/Chart.yaml @@ -3,7 +3,7 @@ name: redcap description: Helm chart for RedCap, A CRF Application for survey research. type: application appVersion: 10.6.13 -version: 1.10.18 +version: 1.10.19 home: https://github.com/curie-data-factory/helm-charts/tree/master/charts/redcap icon: https://www.redcapbrasil.com.br/wp-content/uploads/2018/02/rbone.png sources: diff --git a/charts/redcap/templates/cron.yaml b/charts/redcap/templates/cron.yaml index dc2c9e9..e160328 100644 --- a/charts/redcap/templates/cron.yaml +++ b/charts/redcap/templates/cron.yaml @@ -18,8 +18,8 @@ spec: spec: containers: - args: - - /usr/bin/php - - /var/www/site/cron.php + - /bin/bash + - /config/boot-cron.sh env: - name: DB_HOSTNAME value: {{.Values.DB_HOSTNAME}} @@ -39,8 +39,8 @@ spec: key: SALT name: redcap-server-secrets optional: false - {{- if .Values.mail.enabled }} volumeMounts: + {{- if .Values.mail.enabled }} - mountPath: /config/mail name: mail {{- end }} @@ -63,7 +63,6 @@ spec: - key: boot-cron.sh path: ./boot-cron.sh name: "{{ .Release.Name }}-conf-mail-cron" - optional: false name: cron-bootstrap {{- end }} {{- if .Values.mail.enabled }} diff --git a/charts/redcap/values.yaml b/charts/redcap/values.yaml index da09e52..e493f60 100644 --- a/charts/redcap/values.yaml +++ b/charts/redcap/values.yaml @@ -26,8 +26,8 @@ cron: config: |- #!/bin/bash cp /config/mail/msmtprc /etc/msmtprc - /usr/bin/php /var/www/site/cron.php + livenesscheck: true service: