Skip to content

Commit

Permalink
debug cron yaml (#72)
Browse files Browse the repository at this point in the history
* change cron

* change name

* Update Chart.yaml

* lint

* change

* change cron
  • Loading branch information
VictorNguyen098 committed Nov 24, 2023
1 parent 4e9a311 commit 1e51e7e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 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.13
version: 1.10.14
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
22 changes: 7 additions & 15 deletions charts/redcap/templates/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,26 +39,20 @@ spec:
key: SALT
name: redcap-server-secrets
optional: false
volumeMounts:
{{- if .Values.mail.enabled }}
- mountPath: /config/mail
name: mail
{{- end }}
{{- if .Values.mail.enabled }}
- mountPath: /config
name: cron-bootstrap
{{- end }}
{{- if .Values.persistence.enabled }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: redcap-cron
{{- end }}
name: redcap-cron
{{- if .Values.image.deployRegistry }}
imagePullSecrets:
- name: "{{ .Values.image.name }}-{{ .Values.image.imagePullSecrets }}"
{{- end }}
volumes:
{{- if .Values.mail.enabled }}
volumeMounts:
- mountPath: /config/mail
name: mail
- mountPath: /config
name: cron-bootstrap
volumes:
- configMap:
defaultMode: 256
items:
Expand All @@ -67,8 +61,6 @@ spec:
name: "{{ .Release.Name }}-conf-mail-cron"
optional: false
name: cron-bootstrap
{{- end }}
{{- if .Values.mail.enabled }}
- configMap:
defaultMode: 420
name: "{{ .Release.Name }}-conf-mail"
Expand Down

0 comments on commit 1e51e7e

Please sign in to comment.