diff --git a/README.md b/README.md index 688aaf1..39ac27f 100644 --- a/README.md +++ b/README.md @@ -148,4 +148,4 @@ You're welcome to read the [contribution guidelines](./CONTRIBUTING.md). The information about the licensing and the dependencies of this project can be found under : - The [project's license file](./LICENSE) -- The [legal notice](./NOTICE) \ No newline at end of file +- The [legal notice](./NOTICE) diff --git a/charts/redcap/configuration/mysql/my.cnf b/charts/redcap/configuration/mysql/my.cnf index ae31175..f6dd6dc 100644 --- a/charts/redcap/configuration/mysql/my.cnf +++ b/charts/redcap/configuration/mysql/my.cnf @@ -27,6 +27,8 @@ max_connections=400 innodb_flush_log_at_trx_commit=1 sync_binlog=0 +# Fixes "ERROR 1524 (HY000): Plugin 'mysql_native_password' is not loaded" on MYSQL pod init +mysql_native_password=ON [client] port=3306 diff --git a/charts/redcap/configuration/redcap/init/redcap-install.sh b/charts/redcap/configuration/redcap/init/redcap-install.sh index ccdd8ed..ee1d789 100644 --- a/charts/redcap/configuration/redcap/init/redcap-install.sh +++ b/charts/redcap/configuration/redcap/init/redcap-install.sh @@ -5,10 +5,6 @@ # Author: APHP # Description : Retrieves and unpack REDCap and a translation package - -##################### -### GLOBAL CONFIG ### -##################### set -e REDCAP_INSTALL=1 @@ -19,7 +15,6 @@ REDCAP_INSTALL=1 # Installs the REDCap Application package by retrieving it directly from the Community Site API, using the user's credentials. install_redcap () { - if [ "$REDCAP_INSTALL" = 1 ]; then echo "[INFO] Installing REDCap version $REDCAP_VERSION from scratch" echo "[INFO] Cleaning destination dir" diff --git a/charts/redcap/templates/networkpolicies/restore-job-egress.yaml b/charts/redcap/templates/networkpolicies/restore-job-egress.yaml index 7fda8cd..bbd2271 100644 --- a/charts/redcap/templates/networkpolicies/restore-job-egress.yaml +++ b/charts/redcap/templates/networkpolicies/restore-job-egress.yaml @@ -22,7 +22,7 @@ spec: {{- end }} ports: - protocol: TCP - port: {{ default 3306 .Values.mysql.primary.service.ports.mysql }} + port: {{ default 3306 .Values.mysql.primary.service.port.mysql }} # allow DNS resolution - to: @@ -37,4 +37,4 @@ spec: protocol: UDP - port: 53 protocol: TCP -{{- end }} \ No newline at end of file +{{- end }}