Skip to content

Commit 9c40431

Browse files
committed
Updated dependencies & reworked REDCap install and upgrade logic
2 parents 0b9e269 + 1b578a0 commit 9c40431

9 files changed

Lines changed: 14 additions & 7 deletions

File tree

.github/workflows/chart-ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ jobs:
1111
aphp-chart-ci-workflow:
1212
uses: aphp/ci-workflows/.github/workflows/chart-ci.yml@main
1313
with:
14+
kubernetes-version: "1.24.2"
1415
chart-dir: "charts/redcap"
15-
chart-values: "charts/redcap/values.yaml"
16+
chart-values: "./charts/redcap/ci/ct-values.yaml"

charts/redcap/Chart.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
dependencies:
22
- name: mysql
33
repository: https://charts.bitnami.com/bitnami
4-
version: 13.0.0
4+
version: 13.0.2
55
- name: logstash
66
repository: https://charts.bitnami.com/bitnami
7-
version: 7.0.2
8-
digest: sha256:230c9add448d8fcaac081511b31e7836b44297b51188b83816b096515203d1cd
9-
generated: "2025-05-22T15:39:01.297111411+02:00"
7+
version: 7.0.4
8+
digest: sha256:9acead3f00befe50145d27d120a6795203cc65d72bc6578d1903642884fe1a48
9+
generated: "2025-06-19T15:34:43.900600074+02:00"

charts/redcap/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ dependencies:
1717
- condition: mysql.enabled
1818
name: mysql
1919
repository: https://charts.bitnami.com/bitnami
20-
version: 13.0.0
20+
version: 13.0.2
2121
- condition: audit.enabled
2222
name: logstash
2323
alias: audit
2424
repository: https://charts.bitnami.com/bitnami
25-
version: 7.0.2
25+
version: 7.0.4
2626
maintainers:
2727
- name: kzgrzendek
2828
email: kevin.zgrzendek@gmail.com
-43.5 KB
Binary file not shown.
43.4 KB
Binary file not shown.
-66.3 KB
Binary file not shown.
66.4 KB
Binary file not shown.

charts/redcap/ci/ct-values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ httpd:
77
memory: "1Gi"
88
cpu: "0.5"
99

10+
redcap:
11+
install:
12+
enabled: false
13+
1014
mysql:
1115
primary:
1216
resources:

charts/redcap/templates/deployments/redcap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ spec:
161161
name: {{ default (include "mysql.secrets.password.name" .) .Values.redcap.config.database.auth.password.secretKeyRef.name }}
162162
key: {{ default (include "mysql.secrets.password.key" .) .Values.redcap.config.database.auth.password.secretKeyRef.key }}
163163

164+
{{- if .Values.redcap.install.enabled }}
164165
startupProbe:
165166
exec:
166167
command:
@@ -196,6 +197,7 @@ spec:
196197
initialDelaySeconds: 5
197198
timeoutSeconds: 5
198199
periodSeconds: 60
200+
{{- end }}
199201

200202
resources:
201203
{{- toYaml .Values.redcap.resources | nindent 10 }}

0 commit comments

Comments
 (0)