From d73a2c869c15a604a2ed6a406f821186d3fc0469 Mon Sep 17 00:00:00 2001 From: dbp-moodle-gha Date: Tue, 19 Nov 2024 17:56:39 +0000 Subject: [PATCH] dbp-moodle --- automation/dbp-moodle/Chart.lock | 2 +- automation/dbp-moodle/Chart.yaml | 2 +- automation/dbp-moodle/values.yaml | 76 ++++++++----------------------- 3 files changed, 21 insertions(+), 59 deletions(-) diff --git a/automation/dbp-moodle/Chart.lock b/automation/dbp-moodle/Chart.lock index a93a279ee..49ce4850c 100644 --- a/automation/dbp-moodle/Chart.lock +++ b/automation/dbp-moodle/Chart.lock @@ -27,4 +27,4 @@ dependencies: repository: https://burningalchemist.github.io/sql_exporter/ version: 0.6.1 digest: sha256:c2d696cb5b0cfe3096fabb66d1fbdf72969e84cf33898a25fd8f218e6bdca87b -generated: "2024-11-19T17:54:05.213730513Z" +generated: "2024-11-19T17:55:57.080816822Z" diff --git a/automation/dbp-moodle/Chart.yaml b/automation/dbp-moodle/Chart.yaml index 0bfefd096..7332e111a 100644 --- a/automation/dbp-moodle/Chart.yaml +++ b/automation/dbp-moodle/Chart.yaml @@ -47,4 +47,4 @@ description: 'This is a Helm Chart bundling some of the bitnami resources to dep home: https://dbildungsplattform.github.io/dbp-moodle/ name: dbp-moodle type: application -version: 0.0.0-dbp-000-20241119-1753 +version: 0.0.0-dbp-000-20241119-1755 diff --git a/automation/dbp-moodle/values.yaml b/automation/dbp-moodle/values.yaml index a4252f84f..faa059d51 100644 --- a/automation/dbp-moodle/values.yaml +++ b/automation/dbp-moodle/values.yaml @@ -1,112 +1,83 @@ global: + kubectl_version: "1.28.7" # -- Default storage class, should support ReadWriteMany storageClass: "nfs-client" - # -- Moodle Plugins that are enabled will be installed on container startup - # -- If a plugin is changed from enabled to disabled, or vice versa, with an upgrade, the plugin will be installed/ uninstalled to match the new state + # -- All plugins are disabled by default. if enabled, the plugin is installed on image startup moodlePlugins: - # -- [Kaltura Video Package](https://moodle.org/plugins/view.php?id=447) kaltura: enabled: false - # -- [Etherpad Lite](https://moodle.org/plugins/mod_etherpadlite) etherpadlite: enabled: false - # -- [Interactive Content – H5P](https://moodle.org/plugins/mod_hvp) hvp: enabled: false - # -- [Group self-selection](https://moodle.org/plugins/mod_groupselect) groupselect: enabled: false - # -- [PDF Annotation](https://moodle.org/plugins/mod_pdfannotator) + jitsi: + enabled: false pdfannotator: enabled: false - # -- [Jitsi](https://moodle.org/plugins/mod_jitsi) - jitsi: + tiles: enabled: false - # -- [Skype](https://moodle.org/plugins/mod_skype) skype: enabled: false - # -- [Zoom meeting](https://moodle.org/plugins/mod_zoom) zoom: enabled: false - # -- [Booking](https://moodle.org/plugins/mod_booking) booking: enabled: false - # -- [Reengagement](https://moodle.org/plugins/mod_reengagement) reengagement: enabled: false - # -- [Unilabel](https://moodle.org/plugins/mod_unilabel) unilabel: enabled: false - # -- [GeoGebra](https://moodle.org/plugins/mod_geogebra) geogebra: enabled: false - # -- [Group choice](https://moodle.org/plugins/mod_choicegroup) choicegroup: enabled: false - # -- [Static Pages](https://moodle.org/plugins/local_staticpage) staticpage: enabled: false - # -- [Heartbeat check](https://moodle.org/plugins/tool_heartbeat) heartbeat: enabled: false - # -- [Edwiser Course Formats](https://moodle.org/plugins/format_remuiformat) remuiformat: enabled: false - # -- [Tiles format](https://moodle.org/plugins/format_tiles) - tiles: - enabled: false - # -- [Collapsed Topics](https://moodle.org/plugins/format_topcoll) topcoll: enabled: false - # -- [Flexible sections format](https://moodle.org/plugins/format_flexsections) - flexsections: - enabled: false - # -- [Multitopic format](https://moodle.org/plugins/format_multitopic) - multitopic: - enabled: false - # -- [OpenID Connect](https://moodle.org/plugins/auth_oidc) oidc: enabled: false - # -- [SAML2 Single sign on](https://moodle.org/plugins/auth_saml2) saml2: enabled: false - # -- [Dash](https://moodle.org/plugins/block_dash) dash: enabled: false - # -- [Sharing Cart](https://moodle.org/plugins/block_sharing_cart) sharing_cart: enabled: false - # -- [Level Up XP - Gamification](https://moodle.org/plugins/block_xp) xp: enabled: false - # -- [Workplace course certificate](https://moodle.org/plugins/mod_coursecertificate) + certificate: + enabled: false coursecertificate: enabled: false - # -- [Adaptable](https://moodle.org/plugins/theme_adaptable) adaptable: enabled: false - # -- [Boost Union](https://moodle.org/plugins/theme_boost_union) boost_union: enabled: false - # -- [Boost Magnific](https://moodle.org/plugins/theme_boost_magnific) boost_magnific: enabled: false - # -- [Snap](https://moodle.org/plugins/theme_snap) snap: enabled: false + flexsections: + enabled: false + multitopic: + enabled: false - -# -- Settings specific to the umbrella chart -# -- Either extend functionality of one chart or connects/configures services from two charts dbpMoodle: - # -- The dbp update process to migrate moodle data when container image versions are increased - updateMigration: + name: infra + stage: infra + + # -- The dbp update process to migrate moodle data when moodle versions are increased + update_migration: enabled: false - # -- Disallows all egress from release namespace for the moodle deployment + # -- disallows all egress from release namespace for the moodle deployment allowInternalNetworkingOnly: false - # -- These settings affect the config.php of the moodle container phpConfig: # -- Extended php logging extendedLogging: false @@ -125,8 +96,7 @@ dbpMoodle: port: 6379 password: "" - # -- Creates a PVC for the moodle chart, this allows for additional configuration - moodleExternalPVC: + external_pvc: enabled: true name: "moodle-data" size: "8Gi" @@ -233,18 +203,10 @@ dbpMoodle: # -- Horizontal pod autoscaling values hpa: enabled: false - # -- The deployment to scale deployment_name_ref: "moodle" - # -- Minimum replicas of deployment min_replicas: 1 - # -- Maximum replicas of deployment max_replicas: 4 - # -- The average cpu utilization of all pods in deployment to aim for, if exceeded for stabilization_window_seconds the deployment is scaled - target_average_cpu_utilization: 50 - # How long to wait before scaling up when utilization exceeds target_average_cpu_utilization - scale_up_stabilization_window_seconds: 0 - # How long to wait before scaling down when utilization is below target_average_cpu_utilization - scale_down_stabilization_window_seconds: 0 + average_cpu_utilization: 50 # -- The max amount in percent to scale down in one step per cooldown period scaledown_value: 25 # -- How many seconds to wait between downscaling adjustments