-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to specify custom prosody plugin files from the file system? #136
Comments
Hello @anirbandas18! In order to use this feature you first need to create a ConfigMap with your plugin files inside. Then you'll need to specify the ConfigMap name and files inside it like so: prosody:
extraVolumes:
- name: prosody-modules
configMap:
# v Put your ConfigMap name here v #
name: my-custom-prosody-plugins-configmap
extraVolumeMounts:
# Repeat this section for every plugin file...
- name: prosody-modules
subPath: mod_measure_client_presence.lua
mountPath: /prosody-plugins-custom/mod_measure_client_presence.lua
# ...or mount the whole ConfigMap like so:
- name: prosody-modules
mountPath: /prosody-plugins-custom |
Hey, I´m running into a similiar issue. I created a custom ConfigMap with my lua script. I send applied it to the cluster and referenced it in my prosody config like explained above. When restarting prosody its not loading the module. I tried looking at the logs but nothing is mentioned. Do I need to define it somewhere else in my values.yaml file? Thanks for all the hard work and the new release :) |
Can you see this Lua script inside |
Yes, inside the container I can see the lua file in the Here is the content:
And here are the mounts:
|
Could you share the generated Prosody config? |
Hi,
I want to use this new feature in order to specify my lua script files as custom prosody plugin into the prosody pod during execution of
helm apply
command using this jitsi-helm chart.However, I am not sure how to make my actual lua script file which is the custom prosody plugin available to this jitsi-helm chart during
helm apply
command in order for this jitsi-helm chart to read the file and ultimately make it available it to the underlying prosody image via the stateful set type pod of prosody from this jitsi-helm chart.Would you be kind enough to throw some light in to the configuration process for specifying this file from the file system to the helm chart when trying to use this feature?
The text was updated successfully, but these errors were encountered: