[stable/moodle] Set MOODLE_SKIP_INSTALL environment variable via values.yaml config. (#20523)

It is very useful for data migration or restoring database from backup.

Signed-off-by: Andrey Voronkov <voronkovaa@gmail.com>
This commit is contained in:
Andrey Voronkov
2020-02-03 21:43:26 -08:00
committed by GitHub
parent 78c68b31b9
commit 8491cc01ad
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: moodle
version: 7.0.8
version: 7.1.0
appVersion: 3.8.1
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:
+1
View File
@@ -61,6 +61,7 @@ The following table lists the configurable parameters of the Moodle chart and th
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
| `nameOverride` | String to partially override moodle.fullname template with a string (will prepend the release name) | `nil` |
| `fullnameOverride` | String to fully override moodle.fullname template with a string | `nil` |
| `moodleSkipInstall` | Skip moodle installation wizard (`no` / `yes`) | `no` |
| `moodleUsername` | User of the application | `user` |
| `moodlePassword` | Application password | _random 10 character alphanumeric string_ |
| `moodleEmail` | Admin email | `user@example.com` |
+2
View File
@@ -73,6 +73,8 @@ spec:
name: {{ printf "%s-%s" .Release.Name "externaldb" }}
key: db-password
{{- end }}
- name: MOODLE_SKIP_INSTALL
value: {{ default "no" .Values.moodleSkipInstall | quote }}
- name: MOODLE_USERNAME
value: {{ default "" .Values.moodleUsername | quote }}
- name: MOODLE_PASSWORD
+5
View File
@@ -35,6 +35,11 @@ image:
##
# fullnameOverride:
## Skip Moodle installation wizard. Useful for migrations and restoring from SQL dump
## ref: https://github.com/bitnami/bitnami-docker-moodle#configuration
##
moodleSkipInstall: "no"
## User of the application
## ref: https://github.com/bitnami/bitnami-docker-moodle#configuration
##