Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retry mapp #76

Merged
merged 1 commit into from
Nov 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.17
version: 1.10.18
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
52 changes: 26 additions & 26 deletions charts/redcap/templates/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,28 @@ spec:
name: redcap-cron
spec:
containers:
- name: redcap-cron
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
args:
- /usr/bin/php
- /var/www/site/cron.php
- args:
- /usr/bin/php
- /var/www/site/cron.php
env:
- name: DB_HOSTNAME
value: {{.Values.DB_HOSTNAME}}
- name: DB_NAME
value: {{.Values.DB_NAME}}
- name: DB_USERNAME
value: {{.Values.DB_USERNAME}}
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
key: DB_PASSWORD
name: redcap-server-secrets
optional: false
- name: SALT
valueFrom:
secretKeyRef:
key: SALT
name: redcap-server-secrets
optional: false
- name: DB_HOSTNAME
value: {{.Values.DB_HOSTNAME}}
- name: DB_NAME
value: {{.Values.DB_NAME}}
- name: DB_USERNAME
value: {{.Values.DB_USERNAME}}
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
key: DB_PASSWORD
name: redcap-server-secrets
optional: false
- name: SALT
valueFrom:
secretKeyRef:
key: SALT
name: redcap-server-secrets
optional: false
{{- if .Values.mail.enabled }}
volumeMounts:
- mountPath: /config/mail
Expand All @@ -51,9 +48,12 @@ spec:
- mountPath: /config
name: cron-bootstrap
{{- end }}
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 }}"
imagePullSecrets:
- name: "{{ .Values.image.name }}-{{ .Values.image.imagePullSecrets }}"
{{- end }}
volumes:
{{- if .Values.cron.enabled }}
Expand Down
Loading