Skip to content

Commit

Permalink
Add support for extra volumes for Prosody and custom plugin examples
Browse files Browse the repository at this point in the history
  • Loading branch information
spijet committed Apr 23, 2024
1 parent 15c7251 commit 22e21f0
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
10 changes: 10 additions & 0 deletions charts/prosody/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 10 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 22e21f0

Please sign in to comment.