From 53241b6a888c126229970cbb1201c37c9f95cc92 Mon Sep 17 00:00:00 2001 From: Jannik Badenhop Date: Tue, 10 Dec 2024 13:21:16 +0100 Subject: [PATCH] use enabled value for custom secret (#86) * use enabled value for custom secret * bump chart version --- charts/dbp-moodle/Chart.yaml | 2 +- charts/dbp-moodle/README.md | 2 +- charts/dbp-moodle/scripts/restore.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/dbp-moodle/Chart.yaml b/charts/dbp-moodle/Chart.yaml index cdf2a5b..794f9d2 100644 --- a/charts/dbp-moodle/Chart.yaml +++ b/charts/dbp-moodle/Chart.yaml @@ -6,7 +6,7 @@ description: | The Chart can be deployed without any modification but it is advised to set own secrets acccording to this readme. type: application home: https://dbildungsplattform.github.io/dbp-moodle/ -version: 0.0.15 +version: 0.0.16 appVersion: "4.1.14" dependencies: - name: moodle diff --git a/charts/dbp-moodle/README.md b/charts/dbp-moodle/README.md index 9fac4fd..bef9b2c 100644 --- a/charts/dbp-moodle/README.md +++ b/charts/dbp-moodle/README.md @@ -1,6 +1,6 @@ # dbp-moodle -![Version: 0.0.15](https://img.shields.io/badge/Version-0.0.15-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.1.14](https://img.shields.io/badge/AppVersion-4.1.14-informational?style=flat-square) +![Version: 0.0.16](https://img.shields.io/badge/Version-0.0.16-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.1.14](https://img.shields.io/badge/AppVersion-4.1.14-informational?style=flat-square) This is a Helm Chart bundling some of the bitnami resources to deploy Moodle for DBildungsplattform. Extending them with features such as MariaDB and PostgreSQL support, Horizontal Autoscaling capabilities, Redis Session Store, Etherpad-Lite. diff --git a/charts/dbp-moodle/scripts/restore.sh b/charts/dbp-moodle/scripts/restore.sh index 179a543..1617005 100644 --- a/charts/dbp-moodle/scripts/restore.sh +++ b/charts/dbp-moodle/scripts/restore.sh @@ -20,7 +20,7 @@ health_file="/tmp/healthy" # Create liveness probe file touch "${health_file}" -{{ if and .Values.dbpMoodle.backup.s3_certificate_secret.mountpath .Values.dbpMoodle.backup.s3_certificate_secret.key }} +{{ if and .Values.dbpMoodle.backup.s3_certificate_secret.enabled }} printf "Appendending custom certificate (%s/%s) to /etc/ssl/certs/ca-certificates.crt\n" "{{ .Values.dbpMoodle.backup.s3_certificate_secret.mountpath }}" "{{ .Values.dbpMoodle.backup.s3_certificate_secret.key }}" cat "{{ .Values.dbpMoodle.backup.s3_certificate_secret.mountpath }}/{{ .Values.dbpMoodle.backup.s3_certificate_secret.key }}" >> /etc/ssl/certs/ca-certificates.crt {{ end }}