Skip to content

Commit

Permalink
Allow to use external secret for moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
xcompass committed Oct 29, 2024
1 parent d6d5c30 commit 524edb4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion moodle/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: moodle
version: 0.1.10
version: 0.1.11
description: Moodle is a learning platform designed to provide educators, administrators and learners with a single robust, secure and integrated system to create personalised learning environments
keywords:
- moodle
Expand Down
2 changes: 2 additions & 0 deletions moodle/templates/secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ if .Values.moodlePassword }}
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -19,6 +20,7 @@ data:
moodle_password: {{ randAlphaNum 10 | b64enc | quote }}
{{- end }}
smtp_password: {{ default "" .Values.smtpPassword | b64enc | quote }}
{{- end }}

{{ if .Values.shib.sp.key }}
---
Expand Down
2 changes: 2 additions & 0 deletions moodle/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ moodleUsername: user
## Defaults to a random 10-character alphanumeric string if not set
##
# moodlePassword:
# or use existing secret for moodle password
# moodleExistingSecret:

## Admin email
## ref: https://github.com/bitnami/bitnami-docker-moodle#configuration
Expand Down

0 comments on commit 524edb4

Please sign in to comment.