Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
f167cfb
Updated httpd and redcap configurations
Superfluxx Nov 12, 2025
8dcdd5d
Updated values to run bitnamilegacy images
Superfluxx Nov 12, 2025
7cb3def
Updated redcapBaseUrl format to match DNS
Superfluxx Nov 14, 2025
749de17
Unpadted sync from main
kzgrzendek Nov 17, 2025
5c14f8d
Merge branch 'dev' into bitnami_legacy_and_bugfix
Superfluxx Nov 17, 2025
7638f01
Better config architure
Superfluxx Nov 17, 2025
dfc9c03
Fix default extrenalURL value
Superfluxx Nov 17, 2025
1ebcaa7
Merge pull request #10 from Superfluxx/bitnami_legacy_and_bugfix
kzgrzendek Nov 17, 2025
907b9db
Bumped version to 1.4.6
kzgrzendek Nov 19, 2025
acf556d
Updated rclone image
Superfluxx Nov 20, 2025
ec8aa2e
Merge pull request #11 from Superfluxx/bitnami_legacy_and_bugfix
kzgrzendek Nov 20, 2025
6fdf440
link dev ci with dev branch
Superfluxx Nov 24, 2025
2ed4f14
Merge pull request #12 from Superfluxx/ci-dev
kzgrzendek Nov 24, 2025
ff165b1
Change MySQL to MariaDB
Superfluxx Dec 4, 2025
213e4be
WIP MySQL to MariaDB
Superfluxx Dec 8, 2025
acc3e10
Update docs
Superfluxx Dec 8, 2025
dd11004
Quoting chart dependency
kzgrzendek Dec 8, 2025
5c4445c
Updated dependencies
kzgrzendek Dec 8, 2025
d7f50bb
Updated workflow call
kzgrzendek Dec 8, 2025
b5aca5c
Trying agai with adding write permissions
kzgrzendek Dec 8, 2025
138f4d1
Added missing content write permission
kzgrzendek Dec 8, 2025
ce62ff3
Updated network policies and audit templates
Superfluxx Dec 9, 2025
c77a9b9
Fix networkpolicies for MariaDB
Superfluxx Dec 10, 2025
db1af13
Fix mail configmap
Superfluxx Dec 10, 2025
a3f2d73
Fixed tls and starttls params in msmtprc configuration
kzgrzendek Dec 10, 2025
0a8ff0c
Adapting the puging method of the backup restore process
kzgrzendek Dec 10, 2025
2b5b9c3
WIP : Testing redcap update to desired version mechanism after restore
kzgrzendek Dec 11, 2025
2c5c89a
Updated scalar bloc indicator
kzgrzendek Dec 11, 2025
ee0cac2
Fixed command separator for restore scripts
kzgrzendek Dec 11, 2025
d9d1b81
Removed uneeded separator
kzgrzendek Dec 11, 2025
66a29d7
Try to fix init script mounting point
Superfluxx Dec 11, 2025
4ad5939
Fixed bad volume naming
kzgrzendek Dec 11, 2025
332f488
Fixed bad pvc ref
kzgrzendek Dec 11, 2025
91c4089
Fixed scripts call
kzgrzendek Dec 11, 2025
8446ae9
Added custom redcap app rzstore image (curl) and updated docs
kzgrzendek Dec 11, 2025
126e33a
Updated schema
Superfluxx Dec 11, 2025
4595dde
Fixed typo
kzgrzendek Dec 11, 2025
7624d20
Added ephemeral volume for Redcap restore service
Superfluxx Dec 12, 2025
56414e5
Updated redcap image for restore backup job
Superfluxx Dec 12, 2025
d45feba
WIP Add extra init container
Superfluxx Dec 12, 2025
18b1139
Remove setup and config script in backup restore job
Superfluxx Dec 12, 2025
499fe36
Clean PVC
Superfluxx Dec 15, 2025
23cba36
Add setup script in restore backup job
Superfluxx Dec 15, 2025
53a42c0
Check if database.php is present even if Redcap is already installed
Superfluxx Dec 17, 2025
191213d
Remove redcap-setup script from restore cron-job
Superfluxx Dec 18, 2025
ad8d4d4
Try new MariaDB config
Superfluxx Jan 6, 2026
b751ca8
Add Redcap settings for MariaDB
Superfluxx Jan 6, 2026
878cb6f
Fix path in MariaDB configmap
Superfluxx Jan 8, 2026
925667c
Fix my.cnf in config map
Superfluxx Jan 19, 2026
4e5845f
Fix typo on existingConfigMap
Superfluxx Jan 20, 2026
0c4fcb8
Update doc
Superfluxx Jan 22, 2026
a54bea7
Rename MySQL to MariaDB in doc
Superfluxx Jan 22, 2026
e3d19be
Update REDCap's image tag
Superfluxx Feb 23, 2026
fb5cd16
Update REDCap version in docs
Superfluxx Feb 24, 2026
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
6 changes: 5 additions & 1 deletion .github/workflows/chart-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ on:
- "dev"
- "main"

permissions:
contents: write
security-events: write

jobs:
aphp-chart-ci-workflow:
uses: aphp/ci-workflows/.github/workflows/chart-ci.yml@main
uses: aphp/ci-workflows/.github/workflows/chart-ci.yml@dev
with:
kubernetes-version: "1.24.2"
chart-dir: "charts/redcap"
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
This software contains the following dependencies developed by Broadcom :

- Helm Charts:
- mysql : https://github.com/bitnami/charts/tree/main/bitnami/mysql
- mariadb : https://github.com/CloudPirates-io/helm-charts/tree/main/charts/mariadb
- logstash : https://github.com/bitnami/charts/tree/main/bitnami/logstash

Those dependencies are present in the "bitnami/charts" github repository provided by Broadcom under the Apache 2.0 license,
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![redcap-helmchart-ci](https://github.com/aphp/redcap-helmchart/actions/workflows/chart-ci.yaml/badge.svg)](https://github.com/aphp/redcap-helmchart/actions/workflows/chart-ci.yaml)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/aphp-redcap)](https://artifacthub.io/packages/search?repo=aphp-redcap)

## Presentation
## Presentation

This repository hosts the REDCap Helm Chart developed by the Greater Paris University Hospitals (`APHP` in French - Assistance Publique des Hôpitaux de Paris). This Chart allows for a cloud-native and cloud-agnostic deployment of REDCap, a secure web application for building and managing online surveys and databases.

Expand All @@ -21,7 +21,7 @@ The architecture of the REDCap stack deployed by this Chart is as follows :
A minimal setup of this stack includes :
- The HTTPd component
- The PHP FPM Server hosting the REDCap Application
- The MySQL Database used by REDCap
- The MariaDB Database used by REDCap

On top of that, you can also choose to deploy :
- A Backup Cronjob, that can generate an archive containing a database dump, a dump of the `edocs` folder, and a dump of the folder containing the REDCap Application.
Expand All @@ -45,7 +45,7 @@ Here are a few important notions to keep in mind to efficiently manage a REDCap

If you choose to automatically install REDCap using your community credentials with this chart, an Kubernetes Job called `init-job` will be automatically fired during the chart's installation process:
- The `StartupPrope` will call the `install.php` or `upgrade.php` script (depending if you're installing REDCap from scratch or upgrading from an existing installation) with the query parameter `auto=1`
- The `ReadinessProbe` will call a MySql script allowing to configure REDCap with the following parameter, extracted from the Chart values :
- The `ReadinessProbe` will call a MariaDB script allowing to configure REDCap with the following parameter, extracted from the Chart values :
- REDCap Base URL
- Institution Name
- Organization Name
Expand Down
10 changes: 5 additions & 5 deletions charts/redcap/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: mysql
repository: https://charts.bitnami.com/bitnami
version: 13.0.2
- name: mariadb
repository: oci://registry-1.docker.io/cloudpirates
version: 0.8.0
- name: logstash
repository: https://charts.bitnami.com/bitnami
version: 7.0.4
digest: sha256:9acead3f00befe50145d27d120a6795203cc65d72bc6578d1903642884fe1a48
generated: "2025-06-19T15:34:43.900600074+02:00"
digest: sha256:f08d201367526ff2189bcba7f2fa3ec712a842dabbd716490414560faeb7b935
generated: "2025-12-08T16:16:04.913596174+01:00"
12 changes: 6 additions & 6 deletions charts/redcap/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: redcap
version: 1.4.5
appVersion: 14.5.25
version: 1.5.0
appVersion: 15.0.27
kubeVersion: '>= 1.24.0-0'
description: A Helm chart to deploy REDCap on a Kubernetes cluster.
type: application
Expand All @@ -14,10 +14,10 @@ home: https://www.project-redcap.org/
sources:
- https://github.com/aphp/redcap-helmchart
dependencies:
- condition: mysql.enabled
name: mysql
repository: https://charts.bitnami.com/bitnami
version: 13.0.2
- condition: mariadb.enabled
name: mariadb
repository: oci://registry-1.docker.io/cloudpirates
version: 0.8.0
- condition: audit.enabled
name: logstash
alias: audit
Expand Down
95 changes: 54 additions & 41 deletions charts/redcap/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}

{{- if (include "mysql.secondary.createConfigmap" .) }}
{{- if (include "mariadb.secondary.createConfigmap" .) }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "mysql.secondary.fullname" . }}
name: {{ include "mariadb.secondary.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
app.kubernetes.io/part-of: mysql
app.kubernetes.io/part-of: mariadb
app.kubernetes.io/component: secondary
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ SPDX-License-Identifier: APACHE-2.0

{{- $secretName := printf "%s-crt" (include "common.names.fullname" .) | trunc 63 | trimSuffix "-" }}
{{- if and .Values.tls.enabled (eq .Values.tls.autoGenerated.engine "helm") }}
{{- $ca := genCA "mysql-ca" 365 }}
{{- $ca := genCA "mariadb-ca" 365 }}
{{- $releaseNamespace := include "common.names.namespace" . }}
{{- $clusterDomain := .Values.clusterDomain }}
{{- $primaryServiceName := include "mysql.primary.fullname" . }}
{{- $secondaryServiceName := include "mysql.secondary.fullname" . }}
{{- $primaryServiceName := include "mariadb.primary.fullname" . }}
{{- $secondaryServiceName := include "mariadb.secondary.fullname" . }}
{{- $headlessServiceName := printf "%s-headless" (include "common.names.fullname" .) | trunc 63 | trimSuffix "-" }}
{{- $altNames := list (printf "*.%s.%s.svc.%s" $primaryServiceName $secondaryServiceName $releaseNamespace $clusterDomain) (printf "%s.%s.svc.%s" $releaseNamespace $clusterDomain) (printf "%s.%s.svc.%s" $secondaryServiceName $releaseNamespace $clusterDomain) (printf "*.%s.%s.svc.%s" $headlessServiceName $releaseNamespace $clusterDomain) (printf "%s.%s.svc.%s" $headlessServiceName $releaseNamespace $clusterDomain) (include "common.names.fullname" .) "localhost" "127.0.0.1" }}
{{- $cert := genSignedCert $primaryServiceName nil $altNames 365 $ca }}
Expand All @@ -19,8 +19,8 @@ metadata:
name: {{ $secretName }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
app.kubernetes.io/part-of: mysql
app.kubernetes.io/component: mysql
app.kubernetes.io/part-of: mariadb
app.kubernetes.io/component: mariadb
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
Expand All @@ -36,8 +36,8 @@ metadata:
name: {{ $secretName }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
app.kubernetes.io/part-of: mysql
app.kubernetes.io/component: mysql
app.kubernetes.io/part-of: mariadb
app.kubernetes.io/component: mariadb
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}

{{- if and .Values.passwordUpdateJob.enabled (eq ( include "mysql.createPreviousSecret" . ) "true") }}
{{- if and .Values.passwordUpdateJob.enabled (eq ( include "mariadb.createPreviousSecret" . ) "true") }}
{{- $rootPassword := .Values.passwordUpdateJob.previousPasswords.rootPassword }}
{{- $password := .Values.passwordUpdateJob.previousPasswords.password }}
{{- $replicationPassword := .Values.passwordUpdateJob.previousPasswords.replicationPassword }}
Expand All @@ -13,17 +13,17 @@ metadata:
name: {{ printf "%s-previous-secret" (include "common.names.fullname" .) | trunc 63 | trimSuffix "-" }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
app.kubernetes.io/part-of: mysql
app.kubernetes.io/part-of: mariadb
{{- $defaultAnnotations := dict "helm.sh/hook" "pre-upgrade" "helm.sh/hook-delete-policy" "hook-succeeded" }}
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.commonAnnotations $defaultAnnotations ) "context" . ) }}
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $ ) | nindent 4 }}
type: Opaque
data:
mysql-root-password: {{ required "The previous root password is required!" $rootPassword | b64enc | quote }}
mariadb-root-password: {{ required "The previous root password is required!" $rootPassword | b64enc | quote }}
{{- if .Values.auth.username }}
mysql-password: {{ required "The previous user password is required!" $password | b64enc | quote }}
mariadb-password: {{ required "The previous user password is required!" $password | b64enc | quote }}
{{- end }}
{{- if eq .Values.architecture "replication" }}
mysql-replication-password: {{ required "The previous replication password is required!" $replicationPassword | b64enc | quote }}
mariadb-replication-password: {{ required "The previous replication password is required!" $replicationPassword | b64enc | quote }}
{{- end }}
{{- end }}
Binary file added charts/redcap/charts/mariadb-0.8.0.tgz
Binary file not shown.
Binary file removed charts/redcap/charts/mysql-13.0.2.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion charts/redcap/ci/ct-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ redcap:
install:
enabled: false

mysql:
mariadb:
primary:
resources:
requests:
Expand Down
6 changes: 3 additions & 3 deletions charts/redcap/configuration/audit/redcap-log-event.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
input {

jdbc {
jdbc_driver_library => "/driver/mysql-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mysql.primary.service.ports.mysql }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_driver_library => "/driver/mariadb-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mariadb.jdbc.Driver"
jdbc_connection_string => "jdbc:mariadb://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mariadb.service.port }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_user => "{{ .Values.redcap.config.database.auth.username }}"
jdbc_password => "{{ default .Values.redcap.config.database.auth.password `${MYSQL_PASSWD}` }}"
schedule => "{{ .Values.audit.logsApi.config.pollingSchedule }}"
Expand Down
6 changes: 3 additions & 3 deletions charts/redcap/configuration/audit/redcap-log-event2.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
input {

jdbc {
jdbc_driver_library => "/driver/mysql-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mysql.primary.service.ports.mysql }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_driver_library => "/driver/mariadb-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mariadb.jdbc.Driver"
jdbc_connection_string => "jdbc:mariadb://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mariadb.service.port }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_user => "{{ .Values.redcap.config.database.auth.username }}"
jdbc_password => "{{ default .Values.redcap.config.database.auth.password `${MYSQL_PASSWD}` }}"
schedule => "{{ .Values.audit.logsApi.config.pollingSchedule }}"
Expand Down
6 changes: 3 additions & 3 deletions charts/redcap/configuration/audit/redcap-log-event3.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
input {

jdbc {
jdbc_driver_library => "/driver/mysql-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mysql.primary.service.ports.mysql }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_driver_library => "/driver/mariadb-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mariadb.jdbc.Driver"
jdbc_connection_string => "jdbc:mariadb://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mariadb.service.port }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_user => "{{ .Values.redcap.config.database.auth.username }}"
jdbc_password => "{{ default .Values.redcap.config.database.auth.password `${MYSQL_PASSWD}` }}"
schedule => "{{ .Values.audit.logsApi.config.pollingSchedule }}"
Expand Down
6 changes: 3 additions & 3 deletions charts/redcap/configuration/audit/redcap-log-event4.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
input {

jdbc {
jdbc_driver_library => "/driver/mysql-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mysql.primary.service.ports.mysql }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_driver_library => "/driver/mariadb-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mariadb.jdbc.Driver"
jdbc_connection_string => "jdbc:mariadb://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mariadb.service.port }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_user => "{{ .Values.redcap.config.database.auth.username }}"
jdbc_password => "{{ default .Values.redcap.config.database.auth.password `${MYSQL_PASSWD}` }}"
schedule => "{{ .Values.audit.logsApi.config.pollingSchedule }}"
Expand Down
6 changes: 3 additions & 3 deletions charts/redcap/configuration/audit/redcap-log-event5.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
input {

jdbc {
jdbc_driver_library => "/driver/mysql-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mysql.primary.service.ports.mysql }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_driver_library => "/driver/mariadb-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mariadb.jdbc.Driver"
jdbc_connection_string => "jdbc:mariadb://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mariadb.service.port }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_user => "{{ .Values.redcap.config.database.auth.username }}"
jdbc_password => "{{ default .Values.redcap.config.database.auth.password `${MYSQL_PASSWD}` }}"
schedule => "{{ .Values.audit.logsApi.config.pollingSchedule }}"
Expand Down
6 changes: 3 additions & 3 deletions charts/redcap/configuration/audit/redcap-log-event6.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
input {

jdbc {
jdbc_driver_library => "/driver/mysql-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mysql.primary.service.ports.mysql }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_driver_library => "/driver/mariadb-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mariadb.jdbc.Driver"
jdbc_connection_string => "jdbc:mariadb://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mariadb.service.port }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_user => "{{ .Values.redcap.config.database.auth.username }}"
jdbc_password => "{{ default .Values.redcap.config.database.auth.password `${MYSQL_PASSWD}` }}"
schedule => "{{ .Values.audit.logsApi.config.pollingSchedule }}"
Expand Down
6 changes: 3 additions & 3 deletions charts/redcap/configuration/audit/redcap-log-event7.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
input {

jdbc {
jdbc_driver_library => "/driver/mysql-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mysql.primary.service.ports.mysql }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_driver_library => "/driver/mariadb-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mariadb.jdbc.Driver"
jdbc_connection_string => "jdbc:mariadb://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mariadb.service.port }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_user => "{{ .Values.redcap.config.database.auth.username }}"
jdbc_password => "{{ default .Values.redcap.config.database.auth.password `${MYSQL_PASSWD}` }}"
schedule => "{{ .Values.audit.logsApi.config.pollingSchedule }}"
Expand Down
6 changes: 3 additions & 3 deletions charts/redcap/configuration/audit/redcap-log-event8.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
input {

jdbc {
jdbc_driver_library => "/driver/mysql-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mysql.primary.service.ports.mysql }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_driver_library => "/driver/mariadb-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mariadb.jdbc.Driver"
jdbc_connection_string => "jdbc:mariadb://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mariadb.service.port }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_user => "{{ .Values.redcap.config.database.auth.username }}"
jdbc_password => "{{ default .Values.redcap.config.database.auth.password `${MYSQL_PASSWD}` }}"
schedule => "{{ .Values.audit.logsApi.config.pollingSchedule }}"
Expand Down
6 changes: 3 additions & 3 deletions charts/redcap/configuration/audit/redcap-log-event9.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
input {

jdbc {
jdbc_driver_library => "/driver/mysql-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mysql.primary.service.ports.mysql }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_driver_library => "/driver/mariadb-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mariadb.jdbc.Driver"
jdbc_connection_string => "jdbc:mariadb://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mariadb.service.port }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_user => "{{ .Values.redcap.config.database.auth.username }}"
jdbc_password => "{{ default .Values.redcap.config.database.auth.password `${MYSQL_PASSWD}` }}"
schedule => "{{ .Values.audit.logsApi.config.pollingSchedule }}"
Expand Down
6 changes: 3 additions & 3 deletions charts/redcap/configuration/audit/redcap-log-view.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
input {

jdbc {
jdbc_driver_library => "/driver/mysql-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mysql.primary.service.ports.mysql }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_driver_library => "/driver/mariadb-connector-j-8.4.0.jar"
jdbc_driver_class => "com.mariadb.jdbc.Driver"
jdbc_connection_string => "jdbc:mariadb://{{ .Values.redcap.config.database.auth.hostname }}:{{ default 3306 .Values.mariadb.service.port }}/{{ .Values.redcap.config.database.auth.databaseName }}"
jdbc_user => "{{ .Values.redcap.config.database.auth.username }}"
jdbc_password => "{{ default .Values.redcap.config.database.auth.password `${MYSQL_PASSWD}` }}"
schedule => "{{ .Values.audit.logsApi.config.pollingSchedule }}"
Expand Down
5 changes: 3 additions & 2 deletions charts/redcap/configuration/httpd/httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ PidFile /var/run/supervisor/httpd.pid
# as error documents. e.g. admin@your-domain.com
#
ServerAdmin {{ .Values.redcap.config.adminMail }}
ServerName {{ .Values.redcap.config.externalURL }}
ServerName {{ include `httpd.externalDomain` . }}

#
# ServerName gives the name and port that the server uses to identify itself.
Expand Down Expand Up @@ -377,8 +377,9 @@ EnableSendfile on
<IfModule proxy_fcgi_module>

# Maps the fastcgi server to the root URL space
DirectorySlash On
ProxyPassMatch "^/(.*\.php(/.*)?)$" "fcgi://{{ include `redcap.serviceName` . }}:{{ .Values.services.redcap.port }}/var/www/redcap/$1" timeout=3600 enablereuse=on
DirectoryIndex /index.php index.php
DirectoryIndex index.php #/index.php

</IfModule>

Expand Down
Loading