Skip to content

Commit

Permalink
correction cron (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorNguyen098 authored Nov 24, 2023
1 parent 1e51e7e commit 4370ec9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 25 deletions.
2 changes: 1 addition & 1 deletion charts/redcap/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.14
version: 1.10.15
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:
Expand Down
50 changes: 26 additions & 24 deletions charts/redcap/templates/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,34 +39,36 @@ spec:
key: SALT
name: redcap-server-secrets
optional: false
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: redcap-cron
{{- if .Values.image.deployRegistry }}
imagePullSecrets:
- name: "{{ .Values.image.name }}-{{ .Values.image.imagePullSecrets }}"
{{- end }}
{{- if .Values.mail.enabled }}
volumeMounts:
- mountPath: /config/mail
name: mail
- mountPath: /config
name: cron-bootstrap
volumes:
- configMap:
defaultMode: 256
items:
- key: cron-php.sh
path: ./cron-php.sh
name: "{{ .Release.Name }}-conf-mail-cron"
optional: false
name: cron-bootstrap
- configMap:
defaultMode: 420
name: "{{ .Release.Name }}-conf-mail"
items:
- key: msmtprc
path: ./msmtprc
name: mail
{{- end }}
restartPolicy: Never
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: redcap-cron
{{- if .Values.image.deployRegistry }}
imagePullSecrets:
- name: "{{ .Values.image.name }}-{{ .Values.image.imagePullSecrets }}"
{{- end }}
{{- if .Values.mail.enabled }}
volumes:
- configMap:
defaultMode: 256
items:
- key: cron-php.sh
path: ./cron-php.sh
name: "{{ .Release.Name }}-conf-mail-cron"
optional: false
name: cron-bootstrap
- configMap:
defaultMode: 420
name: "{{ .Release.Name }}-conf-mail"
items:
- key: msmtprc
path: ./msmtprc
name: mail
{{- end }}
restartPolicy: Never

0 comments on commit 4370ec9

Please sign in to comment.