diff --git a/README.md b/README.md index 72119e8..d4d3e51 100644 --- a/README.md +++ b/README.md @@ -215,6 +215,24 @@ considered *experimental*. Also note that this chart doesn't allow to scale JVB into multiple zones/regions yet: all JVB pods will be part of the single OCTO region named `all`. +## Adding custom Prosody plugins + +In case you want to extend your Jitsi Meet installation with additional Prosody +features, you can add custom plugins using additional ConfigMap mounts like +this: + +```yaml +prosody: + extraVolumes: + - name: prosody-modules + configMap: + name: prosody-modules + extraVolumeMounts: + - name: prosody-modules + subPath: mod_measure_client_presence.lua + mountPath: /prosody-plugins-custom/mod_measure_client_presence.lua +``` + ## Configuration The following table lists the configurable parameters of the jisti-meet chart and their default values. diff --git a/charts/prosody/values.yaml b/charts/prosody/values.yaml index 79b8744..fc54207 100644 --- a/charts/prosody/values.yaml +++ b/charts/prosody/values.yaml @@ -92,3 +92,13 @@ affinity: {} extraEnvs: [] extraEnvFrom: [] secretEnvs: {} + +extraVolumes: [] + # - name: prosody-modules + # configMap: + # name: prosody-modules + +extraVolumeMounts: [] + # - name: prosody-modules + # subPath: mod_measure_client_presence.lua + # mountPath: /prosody-plugins-custom/mod_measure_client_presence.lua diff --git a/values.yaml b/values.yaml index 1dfae9b..04c7704 100644 --- a/values.yaml +++ b/values.yaml @@ -505,3 +505,13 @@ prosody: _prosody_cfg_lua: "" _saslauthd_conf: "" _jitsi_meet_cfg_lua: "" + + extraVolumes: [] + # - name: prosody-modules + # configMap: + # name: prosody-modules + + extraVolumeMounts: [] + # - name: prosody-modules + # subPath: mod_measure_client_presence.lua + # mountPath: /prosody-plugins-custom/mod_measure_client_presence.lua