Skip to content

Commit

Permalink
Dbp 000 add 3 plugins (#49)
Browse files Browse the repository at this point in the history
* add plugins choicegroup, heartbeat, staticpage
* bump version
* set correct folder for heartbeat
  • Loading branch information
JannikBadenhop authored Sep 25, 2024
1 parent 1ccafb2 commit 0c91fc6
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/dbp-moodle/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: dbp-moodle
description: A Helm chart for dBildungsplattform Moodle including customizations
type: application
version: 0.0.3
version: 0.0.4
appVersion: "4.1.12"
dependencies:
- name: moodle
Expand Down
3 changes: 3 additions & 0 deletions charts/dbp-moodle/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ booking:mod_booking:mod/booking: {{- .Values.glob
reengagement:mod_reengagement:mod/reengagement: {{- .Values.global.moodlePlugins.reengagement.enabled }}
unilabel:mod_unilabel:mod/unilabel: {{- .Values.global.moodlePlugins.unilabel.enabled }}
geogebra:mod_geogebra:mod/geogebra: {{- .Values.global.moodlePlugins.geogebra.enabled }}
choicegroup:mod_choicegroup:mod/choicegroup: {{- .Values.global.moodlePlugins.choicegroup.enabled }}
staticpage:local_staticpage:local/staticpage: {{- .Values.global.moodlePlugins.staticpage.enabled }}
heartbeat:tool_heartbeat:admin/tool/heartbeat: {{- .Values.global.moodlePlugins.heartbeat.enabled }}
remuiformat:format_remuiformat:course/format/remuiformat: {{- .Values.global.moodlePlugins.remuiformat.enabled }}
tiles:format_tiles:course/format/tiles: {{- .Values.global.moodlePlugins.tiles.enabled }}
topcoll:format_topcoll:course/format/topcoll: {{- .Values.global.moodlePlugins.topcoll.enabled }}
Expand Down
18 changes: 12 additions & 6 deletions charts/dbp-moodle/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ global:
enabled: false
geogebra:
enabled: false
choicegroup:
enabled: false
staticpage:
enabled: false
heartbeat:
enabled: false
remuiformat:
enabled: false
topcoll:
Expand Down Expand Up @@ -96,22 +102,22 @@ dbpMoodle:
- apiGroups: ["batch"]
resources: ["cronjobs", "jobs"]
verbs: ["get", "list", "create", "patch", "watch"]

backup:
enabled: false
gpg_key_names: ""
gpgkeys:
gpgkey.dbpinfra.pub.asc: ""
gpgkey.dbpinfra.sec.asc: ""
existingSecret: "" # existing secret for gpg keys
existingSecret: "" # existing secret for gpg keys
s3_bucket_name: ""
cluster_name: ""
endpoint: ""
secrets:
secrets:
s3_access_key: ""
s3_access_secret: ""
s3_endpoint_url: ""
existingSecret: "" # existing secret for s3 secrets
existingSecret: "" # existing secret for s3 secrets

rules:
- apiGroups: ["apps"]
Expand Down Expand Up @@ -150,7 +156,7 @@ dbpMoodle:
- apiGroups: [""]
resources: ["pods", "pods/exec"]
verbs: ["get", "list", "create"]

# Horizontal Pod Autoscaling Values
hpa:
enabled: false
Expand All @@ -171,7 +177,7 @@ moodle:
image:
registry: ghcr.io
repository: dbildungsplattform/moodle
tag: "4.1.12-debian-12-r1-chart-main"
tag: "4.1.12-debian-12-r1-chart-main"
pullPolicy: Always
debug: false
moodleSkipInstall: false
Expand Down
3 changes: 3 additions & 0 deletions scripts/install/downloadPlugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ moosh plugin-download -v "$major_minor" mod_booking
moosh plugin-download -v "$major_minor" mod_reengagement
moosh plugin-download -v "$major_minor" mod_unilabel
moosh plugin-download -v "$major_minor" mod_geogebra
moosh plugin-download -v "$major_minor" mod_choicegroup
moosh plugin-download -v "$major_minor" local_staticpage
moosh plugin-download -v "$major_minor" tool_heartbeat
moosh plugin-download -v "$major_minor" format_remuiformat
moosh plugin-download -v "$major_minor" format_tiles
moosh plugin-download -v "$major_minor" format_topcoll
Expand Down

0 comments on commit 0c91fc6

Please sign in to comment.